mirror of
https://github.com/bitbaum/ai-kit.git
synced 2026-12-04 04:27:45 +01:00
`tools are not supported by this model` matched nothing. Eleven patterns, and every one of them assumed a singular subject with `is` — so the plural-and- `are` form, which is what vendors actually send, fell straight through. The header said a false negative "costs one request". That was the reasoning error underneath the gap, and it is wrong. The caller that sends tool definitions also DROPS its prose action catalogue, because definitions are meant to replace it. So an unrecognised refusal leaves the model unable to call a tool AND no longer told how to act without one — and because nothing is recorded, it happens again on the next turn, and every turn after. A missed phrasing is not a wasted request; it is a permanently mute model. The bar is unchanged and still conservative: NAME tools or functions, and NEGATE support, both halves explicitly. What changes is that the boring grammatical variants now clear it — plural, `are`, `cannot use`, `no tool support`. Both directions are pinned. Seventeen real refusal phrasings must match; thirteen real 400s that say nothing about tools must not — including the near misses that make widening risky, `streaming is not supported for this model` and `vision is not supported by this model`. Claude-Session: https://claude.ai/code/session_01HJRuvHJEBd8t7iRA9Sb1iw Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>