Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/run-eval/resolve_model_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@
"display_name": "GPT-5.2 Codex",
"llm_config": {"model": "litellm_proxy/gpt-5.2-codex"},
},
"gpt-5-3-codex": {
"id": "gpt-5-3-codex",
"display_name": "GPT-5.3 Codex",
"llm_config": {"model": "litellm_proxy/gpt-5-3-codex"},
},
"gpt-5.2-high-reasoning": {
"id": "gpt-5.2-high-reasoning",
"display_name": "GPT-5.2 High Reasoning",
Expand Down Expand Up @@ -339,6 +344,10 @@ def check_model(
return False, f"✗ {display_name}: {type(e).__name__} - {e}"


# Alias for backward compatibility with tests
test_model = check_model


def run_preflight_check(models: list[dict[str, Any]]) -> bool:
"""Run preflight LLM check for all models.

Expand Down
9 changes: 9 additions & 0 deletions tests/github_workflows/test_resolve_model_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,15 @@ def test_gpt_oss_20b_config():
assert model["llm_config"]["model"] == "litellm_proxy/gpt-oss-20b"


def test_gpt_5_3_codex_config():
"""Test that gpt-5-3-codex has correct configuration."""
model = MODELS["gpt-5-3-codex"]

assert model["id"] == "gpt-5-3-codex"
assert model["display_name"] == "GPT-5.3 Codex"
assert model["llm_config"]["model"] == "litellm_proxy/gpt-5-3-codex"


def test_glm_5_config():
"""Test that glm-5 has correct configuration."""
model = MODELS["glm-5"]
Expand Down
Loading