agent: Make ToolWorkingSet
an Entity
(#28757)
Motivation is to emit events when enabled tools change, want to use this in #28755 Release Notes: - N/A
This commit is contained in:
parent
7e1b419243
commit
e26f0a331f
11 changed files with 183 additions and 202 deletions
|
@ -894,6 +894,7 @@ mod tests {
|
|||
use super::*;
|
||||
use crate::{ThreadStore, thread_store};
|
||||
use assistant_settings::AssistantSettings;
|
||||
use assistant_tool::ToolWorkingSet;
|
||||
use context_server::ContextServerSettings;
|
||||
use editor::EditorSettings;
|
||||
use gpui::TestAppContext;
|
||||
|
@ -937,7 +938,7 @@ mod tests {
|
|||
.update(|cx| {
|
||||
ThreadStore::load(
|
||||
project.clone(),
|
||||
Arc::default(),
|
||||
cx.new(|_| ToolWorkingSet::default()),
|
||||
Arc::new(PromptBuilder::new(None).unwrap()),
|
||||
cx,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue