Delete unused impl
This commit is contained in:
@@ -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],
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user