fix(model-metadata): restore gpt-5.3-codex-spark fallback context

This commit is contained in:
olegdater 2026-05-01 11:12:52 +04:00 committed by kshitij
parent dcc8de83a9
commit 2a6f3deb50
2 changed files with 2 additions and 0 deletions

View file

@ -1108,6 +1108,7 @@ _CODEX_OAUTH_CONTEXT_FALLBACK: Dict[str, int] = {
"gpt-5.1-codex-max": 272_000, "gpt-5.1-codex-max": 272_000,
"gpt-5.1-codex-mini": 272_000, "gpt-5.1-codex-mini": 272_000,
"gpt-5.3-codex": 272_000, "gpt-5.3-codex": 272_000,
"gpt-5.3-codex-spark": 272_000,
"gpt-5.2-codex": 272_000, "gpt-5.2-codex": 272_000,
"gpt-5.4-mini": 272_000, "gpt-5.4-mini": 272_000,
"gpt-5.5": 272_000, "gpt-5.5": 272_000,

View file

@ -284,6 +284,7 @@ class TestCodexOAuthContextLength:
"gpt-5.4", "gpt-5.4",
"gpt-5.4-mini", "gpt-5.4-mini",
"gpt-5.3-codex", "gpt-5.3-codex",
"gpt-5.3-codex-spark",
"gpt-5.2-codex", "gpt-5.2-codex",
"gpt-5.1-codex-max", "gpt-5.1-codex-max",
"gpt-5.1-codex-mini", "gpt-5.1-codex-mini",