From 25cb1f489b7b1b0efe54e1744c3023410e9e655d Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Wed, 17 Dec 2025 17:07:45 +1100 Subject: [PATCH] we don't need to warn about tool count when in code mode --- 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 e9743240dadf..b17209568397 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