fix: expand tool support to reduce 'Invalid tool name' errors (#11792)
fix: expand tool support to prevent "Invalid tool name" errors Models not recognized in PROVIDER_TOOL_SUPPORT fall back to a text-based tool calling format injected into the system message. When models don't follow this format exactly, the parser throws "Invalid tool name". This was affecting many models that actually support native tool calling but weren't listed. Changes: - Azure: add gpt-5, gpt-4.1, o1, o4 (was only gpt-4, o3) - Ollama: add glm-4/5, deepseek, dolphin families - DeepSeek provider: add deepseek-coder (was only chat/reasoner) - OpenRouter: add deepseek/deepseek-v3, deepseek/deepseek-coder Fixes #10678, #11594, #11431, #11218, #10900, #10272, #10156, #10143, #10050, #9891, #9839
D
Dallin Romney committed
afa6bab1bafaf3b5dca0a126f68cff86ef713c45
Parent: 09650d4
Committed by GitHub <noreply@github.com>
on 3/25/2026, 3:23:07 AM