mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
Claude routing picked the auth header from the env var name alone, so a provider with ANTHROPIC_API_KEY and an OpenAI Chat or Responses upstream sent x-api-key, which those protocols reject. OpenAI formats now always use Authorization: Bearer; Anthropic Messages upstreams keep the env var semantics. The full form no longer shows the auth field for those formats (Copilot cards keep it, where it picks the placeholder variable). In aggregation mode the Claude contract only carried the default provider's compatibility switches, so picking another member's model could send features that member rejects. Switches of the other publishing members are now merged by kind: disabling experimental betas, Artifact or the auto mode server applies when any member asks for it; tool search, always-on effort and fine-grained tool streaming stay on only when every member turns them on. Extra body, thinking and window switches still follow the default provider. Add a reasoning effort picker to the full Codex form for the top-level model_reasoning_effort, sharing the select with the subagent effort; picking the model default removes the key.