From b401222b89cf2eb9688ca63d7b2390d7f4834122 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Wed, 17 Dec 2025 17:42:16 +1100 Subject: [PATCH] fix: we don't need to warn about tool count when in code mode (#6149) --- crates/goose/src/prompts/system.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/goose/src/prompts/system.md b/crates/goose/src/prompts/system.md index e9743240..b1720956 100644 --- a/crates/goose/src/prompts/system.md +++ b/crates/goose/src/prompts/system.md @@ -43,7 +43,7 @@ No extensions are defined. You should let the user know that they should add ext {% endif %} {% endif %} -{% if extension_tool_limits is defined %} +{% if extension_tool_limits is defined and not code_execution_mode %} {% with (extension_count, tool_count) = extension_tool_limits %} # Suggestion