diff --git a/crates/assistant2/src/assistant2.rs b/crates/assistant2/src/assistant2.rs index 22d05a3fc5..8204dc3654 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 {