Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Always submit function definitions in Simple mode too (#11016)
Kyle Kelleycf2272a949b4
diff --git a/crates/assistant2/src/assistant2.rs b/crates/assistant2/src/assistant2.rsindex 22d05a3fc5b..8204dc3654a 100644--- a/crates/assistant2/src/assistant2.rs+++ b/crates/assistant2/src/assistant2.rs@@ -314,7 +314,8 @@ impl AssistantChat {let completion = this.update(cx, |this, cx| {this.push_new_assistant_message(cx);- let definitions = if call_count < limit && matches!(mode, SubmitMode::Codebase)+ let definitions = if call_count < limit+ && matches!(mode, SubmitMode::Codebase | SubmitMode::Simple){this.tool_registry.definitions()} else {