mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-12 15:21:08 +00:00
019c668744
Claude Sonnet 5.5, Opus 5.5 and Fable 5.1 reject tool_choice type "tool" and "any" with a 400, so every booking import through the Anthropic provider failed on them. The request now sends tool_choice auto with parallel tool use off, which every Anthropic model and Messages-compatible gateway accepts, and the system prompt tells the model to answer through the emit tool exactly once. A model that still answers in text is reported as before. Closes #2902