assistant2: Factor out tool use into its own module (#25819)

This PR factors out the concerns related to tool use out of `Thread` and
into their own module.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-02-28 12:04:20 -05:00 committed by GitHub
parent b445e4ce24
commit fc52b43159
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 258 additions and 197 deletions

View file

@ -15,10 +15,9 @@ use theme::ThemeSettings;
use ui::{prelude::*, Disclosure};
use workspace::Workspace;
use crate::thread::{
MessageId, RequestKind, Thread, ThreadError, ThreadEvent, ToolUse, ToolUseStatus,
};
use crate::thread::{MessageId, RequestKind, Thread, ThreadError, ThreadEvent};
use crate::thread_store::ThreadStore;
use crate::tool_use::{ToolUse, ToolUseStatus};
use crate::ui::ContextPill;
pub struct ActiveThread {