mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 05:12:11 +03:00
The openai-to-claude translator was prefixing tool names with 'proxy_' (e.g. Bash → proxy_Bash) even when routing Claude-format requests to native Claude/Anthropic providers. Claude rejects unknown tool names, causing 'No such tool available: proxy_Bash' errors. Root cause: the _disableToolPrefix condition only disabled the prefix for non-Claude providers, but it should be disabled for ALL providers in the Claude passthrough path since tools are already in Claude format. Fixes #618