litellm/tests/e2e/codex
ryan-crabbe-berri 4012eb6242
test(e2e): run codex in fast mode under the real model name (#49899)
* test(e2e): run codex in fast mode under the real model name as a team model

Each test registers its deployment as a team model named after the real model, on a throwaway team with a
team key, so parallel tests never share one pooled deployment. Fast mode sets service_tier to priority the
way /fast does and must still answer with a value only reachable through the gateway, on every setup

* test(e2e): check codex fast mode really asks the gateway for the fast tier

The Fast mode row only checked the answer, so it passed the same if the fast setting quietly stopped
doing anything. It now reads whether the gateway's Codex catalog offers the priority tier for the model,
and checks the requests the gateway logged for that key carried service_tier priority when it does and
never asked for it when it doesn't

* test(e2e): fail codex fast mode when the gateway logged too few requests

With no spend log rows the tier checks ran over an empty list and passed. The test now requires at least
the two requests a command round trip makes before it checks their tiers
2026-11-21 03:10:15 +00:00
..
__init__.py
conftest.py test(e2e): run codex in fast mode under the real model name (#49899) 2026-11-21 03:10:15 +00:00
harness.py test(e2e): run codex in fast mode under the real model name (#49899) 2026-11-21 03:10:15 +00:00
mcp_server.py test(e2e): add a Codex row that calls a local MCP tool on a first and a resumed turn (#49817) 2026-11-06 03:59:03 +00:00
rollout.py test(e2e): add a Codex row where a sub-agent must read the task its parent hands it (#50494) 2026-11-07 21:16:39 +00:00
run.py test(e2e): add a Codex row that calls a local MCP tool on a first and a resumed turn (#49817) 2026-11-06 03:59:03 +00:00
setups.py test(e2e): run codex in fast mode under the real model name (#49899) 2026-11-21 03:10:15 +00:00
test_auto_compaction_e2e.py test(e2e): add Codex file edit, long session and auto-compaction rows through LiteLLM (#49386) 2026-11-03 01:52:29 +00:00
test_command_round_trip_e2e.py
test_fast_mode_e2e.py test(e2e): run codex in fast mode under the real model name (#49899) 2026-11-21 03:10:15 +00:00
test_file_edit_e2e.py test(e2e): add Codex file edit, long session and auto-compaction rows through LiteLLM (#49386) 2026-11-03 01:52:29 +00:00
test_long_session_e2e.py test(e2e): add Codex file edit, long session and auto-compaction rows through LiteLLM (#49386) 2026-11-03 01:52:29 +00:00
test_mcp_tool_e2e.py test(e2e): add a Codex row that calls a local MCP tool on a first and a resumed turn (#49817) 2026-11-06 03:59:03 +00:00
test_subagent_e2e.py test(e2e): add a Codex row where a sub-agent must read the task its parent hands it (#50494) 2026-11-07 21:16:39 +00:00