chore: change codex default reasoning effort from high to xhigh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -255,7 +255,7 @@ def generate_config_toml(existing, config, home_dir=None):
|
||||
|
||||
# Top-level managed keys
|
||||
lines.append(f'model = "{config["model"]}"')
|
||||
lines.append(f'model_reasoning_effort = "{config.get("model_reasoning_effort", "high")}"')
|
||||
lines.append(f'model_reasoning_effort = "{config.get("model_reasoning_effort", "xhigh")}"')
|
||||
lines.append('model_provider = "custom"')
|
||||
|
||||
# Model catalog path (for model picker)
|
||||
@@ -464,7 +464,7 @@ def patch_model_config(codex_dir, config):
|
||||
existing = read_toml(config_path)
|
||||
|
||||
model = config["model"]
|
||||
effort = config.get("model_reasoning_effort", "high")
|
||||
effort = config.get("model_reasoning_effort", "xhigh")
|
||||
|
||||
if (existing.get("model") == model and
|
||||
existing.get("model_reasoning_effort") == effort and
|
||||
|
||||
Reference in New Issue
Block a user