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-22 01:32:24 +00:00
committed by GitHub
parent e59c910845
commit be407e27f9
7 changed files with 47 additions and 25 deletions
@@ -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,