Change default model to gpt-5.1-codex

- Update SKILL.md documentation
- Update codex.py DEFAULT_MODEL constant

Generated by swe-agent
This commit is contained in:
swe-agent[bot]
2025-11-14 01:40:23 +00:00
parent 7f61437eea
commit 70caa8d7fc
2 changed files with 3 additions and 3 deletions

View File

@@ -46,8 +46,8 @@ uv run ~/.claude/skills/codex/scripts/codex.py resume <session_id> "<task>" [mod
### Parameters
- `task` (required): Task description, supports `@file` references
- `model` (optional): Model to use (default: gpt-5-codex)
- `gpt-5-codex`: Default, optimized for code
- `model` (optional): Model to use (default: gpt-5.1-codex)
- `gpt-5.1-codex`: Default, optimized for code
- `gpt-5`: Fast general purpose
- `working_dir` (optional): Working directory (default: current)

View File

@@ -18,7 +18,7 @@ import sys
import os
from typing import Optional
DEFAULT_MODEL = 'gpt-5-codex'
DEFAULT_MODEL = 'gpt-5.1-codex'
DEFAULT_WORKDIR = '.'
DEFAULT_TIMEOUT = 7200 # 2 hours in seconds
FORCE_KILL_DELAY = 5