Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent: Fix tool use output rendering (#28146)
Agus Zubiagab78ac5410fb1
diff --git a/crates/agent/src/active_thread.rs b/crates/agent/src/active_thread.rsindex fed075bc440..f463a23b41c 100644--- a/crates/agent/src/active_thread.rs+++ b/crates/agent/src/active_thread.rs@@ -706,7 +706,11 @@ impl ActiveThread {tool_use.id.clone(),tool_use.ui_text.clone(),&tool_use.input,- "".into(),+ self.thread+ .read(cx)+ .tool_result(&tool_use.id)+ .map(|result| result.content.clone().into())+ .unwrap_or("".into()),window,cx,);