You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(providers): restrict gateway-incompatible mapping to anthropic wire (#158)
The "not implemented" → PROVIDER_GATEWAY_INCOMPATIBLE remap (and the
matching retry short-circuit) only makes sense for Anthropic-compatible
endpoints — the actionable hint tells the user to switch wire to
openai-chat, which is misleading when the user is already on an
OpenAI/Google wire and just hit a transient 501.
Gate both call sites on wire === 'anthropic': non-anthropic wires fall
through to the generic PROVIDER_ERROR path and keep retrying 5xx
normally. Adds counter-example tests on openai-chat / openai-responses.
Signed-off-by: hqhq1025 <1506751656@qq.com>
0 commit comments