diff --git a/src/agents/openai_runner.py b/src/agents/openai_runner.py index 4df3147..f7b7052 100644 --- a/src/agents/openai_runner.py +++ b/src/agents/openai_runner.py @@ -115,7 +115,7 @@ def __init__(self): self.returncode: int = 0 -RESPONSES_API_MODELS = {"gpt-5-codex", "codex-mini-latest"} +RESPONSES_API_MODELS = {"gpt-5.3-codex", "gpt-5.2-codex", "gpt-5.1-codex", "gpt-5-codex", "codex-mini-latest"} SLIDING_WINDOW_SIZE = 3 diff --git a/src/batch_review_job.py b/src/batch_review_job.py index 4754406..94efc1a 100644 --- a/src/batch_review_job.py +++ b/src/batch_review_job.py @@ -198,7 +198,7 @@ def _fetch_pr_details(self): logger.warning("PR pre-fetch failed: %s", exc) return None - _VERIFY_MODEL = "gpt-5-codex" + _VERIFY_MODEL = "gpt-5.3-codex" def _run_verify_only( self, diff --git a/src/post_findings.py b/src/post_findings.py index 58a3fae..ccf47d5 100644 --- a/src/post_findings.py +++ b/src/post_findings.py @@ -40,7 +40,9 @@ # Cost per 1M tokens: (input, output) in USD. # Sorted longest-prefix-first so "gpt-4.1-mini" matches before "gpt-4.1". MODEL_COST_TABLE: Dict[str, Tuple[float, float]] = { - "gpt-5-codex": (2.00, 8.00), + "gpt-5.3-codex": (2.00, 8.00), + "gpt-5.2-codex": (2.00, 8.00), + "gpt-5.1-codex": (2.00, 8.00), "gpt-4.1-mini": (0.40, 1.60), "gpt-4.1-nano": (0.10, 0.40), "gpt-4.1": (2.00, 8.00),