Files
cc-switch/src-tauri
Jason 6e7811e5e0 fix(proxy): send Bearer to OpenAI-format Claude upstreams and merge stack switches
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.
2026-10-11 22:51:28 +08:00
..
2026-10-10 23:32:26 +08:00
2026-10-10 23:32:26 +08:00
2026-10-10 23:32:26 +08:00