Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent: Allow thinking in edit file tool (#34155)
Bennet Bo Fenner16d02cfdb342
diff --git a/crates/assistant_tools/src/edit_agent.rs b/crates/assistant_tools/src/edit_agent.rsindex af7dae2e201..0184dff36c0 100644--- a/crates/assistant_tools/src/edit_agent.rs+++ b/crates/assistant_tools/src/edit_agent.rs@@ -719,7 +719,7 @@ impl EditAgent {tools,stop: Vec::new(),temperature: None,- thinking_allowed: false,+ thinking_allowed: true,};Ok(self.model.stream_completion_text(request, cx).await?.stream)