mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
The Codex provider form gains a sub-agent model field and a reasoning effort picker, written to `[agents] default_subagent_model` and `default_subagent_reasoning_effort` in the provider's config.toml. Clearing a value removes the key, and an `[agents]` table left empty is removed with it. The backend already treated both keys as key fields, so switching providers swaps them and leaves the rest of `[agents]` alone. In Aggregation mode the two keys are not written, as with Claude Code: the row names the default provider's model, so a main agent moved to another provider's aggregated model would send its sub-agents back to the default provider. Sub-agents follow the main model instead. When the model is outside the provider's model mapping the form says so and offers to add it: Codex can't get its context window otherwise, and routing that converts to Chat or Anthropic replaces unmapped models with the default one. The field is hidden for Grok Build, official cards and the aggregation layout.