diff --git a/crates/agent/src/active_thread.rs b/crates/agent/src/active_thread.rs index 5da6726532..a016e5d416 100644 --- a/crates/agent/src/active_thread.rs +++ b/crates/agent/src/active_thread.rs @@ -76,16 +76,6 @@ struct RenderedToolUse { output: Entity, } -impl From<&RenderedToolUse> for assistant_tool::RenderedToolUse { - fn from(source: &RenderedToolUse) -> Self { - Self { - label: source.label.entity_id(), - input: source.input.entity_id(), - output: source.output.entity_id(), - } - } -} - impl RenderedMessage { fn from_segments( segments: &[MessageSegment], diff --git a/crates/assistant_tool/src/assistant_tool.rs b/crates/assistant_tool/src/assistant_tool.rs index 4efcd512d9..cfbad34fe0 100644 --- a/crates/assistant_tool/src/assistant_tool.rs +++ b/crates/assistant_tool/src/assistant_tool.rs @@ -20,14 +20,6 @@ pub use crate::action_log::*; pub use crate::tool_registry::*; pub use crate::tool_working_set::*; -/// A rendered tool use containing styled markdown elements for UI representation. -#[derive(Clone)] -pub struct RenderedToolUse { - pub label: EntityId, - pub input: EntityId, - pub output: EntityId, -} - pub fn init(cx: &mut App) { ToolRegistry::default_global(cx); }