diff options
Diffstat (limited to 'evals/bin/tool-called')
| -rwxr-xr-x | evals/bin/tool-called | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/evals/bin/tool-called b/evals/bin/tool-called deleted file mode 100755 index 5094e6f..0000000 --- a/evals/bin/tool-called +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -command -v jq >/dev/null || { echo "jq required"; exit 127; } - -TOOL="$1" -FILE="tool_calls.jsonl" - -COUNT=$(jq -s "[.[] | select(.tool == \"$TOOL\")] | length" "$FILE" 2>/dev/null || echo 0) - -if [ "$COUNT" -gt 0 ]; then - echo "PASS: $TOOL called $COUNT time(s)" - exit 0 -else - echo "FAIL: $TOOL never called" - exit 1 -fi |
