Extract ContextHistory to assistant_context_editor (#23437)

This PR extracts the `ContextHistory` to the `assistant_context_editor`
crate.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-01-21 20:32:24 -05:00 committed by GitHub
parent e59c910845
commit be407e27f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 47 additions and 25 deletions

View file

@ -121,6 +121,13 @@ pub trait AssistantPanelDelegate {
cx: &mut ViewContext<Workspace>,
) -> Option<View<ContextEditor>>;
fn open_saved_context(
&self,
workspace: &mut Workspace,
path: PathBuf,
cx: &mut ViewContext<Workspace>,
) -> Task<Result<()>>;
fn open_remote_context(
&self,
workspace: &mut Workspace,