Delete unused impl

This commit is contained in:
Richard Feldman
2025-04-08 16:37:14 -04:00
parent b18bd2d67b
commit 46c738d724
2 changed files with 0 additions and 18 deletions

View File

@@ -76,16 +76,6 @@ struct RenderedToolUse {
output: Entity<Markdown>,
}
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],

View File

@@ -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);
}