From 38f5f338cb48a82c766e2d418b024d2ab871dda7 Mon Sep 17 00:00:00 2001 From: Bradley Axen Date: Wed, 31 Dec 2025 15:52:37 -0800 Subject: [PATCH] fix: improve smoke test prompt for reliable tool calling (#6281) Co-authored-by: Michael Neale --- scripts/test_providers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_providers.sh b/scripts/test_providers.sh index 93d25149e8..a20b709ed2 100755 --- a/scripts/test_providers.sh +++ b/scripts/test_providers.sh @@ -88,7 +88,7 @@ for provider_config in "${PROVIDERS[@]}"; do echo "Model: ${MODEL}" echo "" TMPFILE=$(mktemp) - (cd "$TESTDIR" && "$SCRIPT_DIR/target/release/goose" run --text "please list files in the current directory" --with-builtin "$BUILTINS" 2>&1) | tee "$TMPFILE" + (cd "$TESTDIR" && "$SCRIPT_DIR/target/release/goose" run --text "Immediately use the shell tool to run 'ls'. Do not ask for confirmation." --with-builtin "$BUILTINS" 2>&1) | tee "$TMPFILE" echo "" if grep -qE "$SUCCESS_PATTERN" "$TMPFILE"; then echo "✓ SUCCESS: Test passed - $SUCCESS_MSG"