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:
delta-cloud-208e
2026-03-13 22:39:55 +00:00
parent d602c99b20
commit 5525f6009a
6 changed files with 7 additions and 7 deletions

View File

@@ -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