litellm/tests/integration/configuration
zoveki ad1abcea37
fix(cli): carry configured service tiers and display names into the lite codex catalog (#49422)
* fix(cli): carry configured service tiers and display names into the lite codex catalog

lite codex wrote litellm-models.json from the installed Codex's own entries but never passed the
operator's model_info.service_tiers or model_info.display_name into the rows, so a Codex it launched
showed only Codex's stock tiers and names while the proxy's own Codex route served the configured ones.
The CLI now reads both from the /v1/model/info response it already fetches for alias upstreams: the
tiers of every unpaused deployment under a public name, and the first deployment's display name when it
is a non-blank string, mirroring how the router feeds the served catalog

* fix(cli): read the deployments the key's team routes to for lite codex tiers, names, and upstreams

* fix(cli): take lite codex's configured tiers and names from the proxy's served codex catalog

lite codex now reads the display name and service tiers the proxy's own Codex catalog serves the key,
for each name a deployment configures them on and for aliases with no deployment row, so the proxy's
team routing, model_group_alias, wildcard and key alias rules decide them. Unconfigured names keep the
installed Codex's own entries. This drops the client-side tier rules and the /key/info call

* fix(cli): scope lite codex's configured tiers to shared deployments and keep the installed codex's tier names

* fix(cli): let lite codex take the served values for an alias whose target the key can't see

* test(cli): type the generic tier helper

* fix(cli): skip the served Codex catalog for a team's all-proxy-models entry and warn only when a configured value is left out

* test(cli): type the codex catalog test helpers

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-18 02:19:48 +00:00
..
test_audio_transcription_model_resolution.py test(integration): cover audio endpoint contracts (#44699) 2026-10-14 03:41:20 +00:00
test_basic_proxy_startup.py ci: run every CircleCI check from the integration workflow (#45938) 2026-10-11 07:39:16 -07:00
test_callback_delete.py fix(proxy)!: delete callbacks configured under callbacks or failure_callback (#42740) 2026-10-16 09:22:22 -07:00
test_callback_leak_contracts.py test: move 76 live top-level tests to offline unit and integration coverage (#45352) 2026-10-08 10:33:35 -07:00
test_callback_settings_boot.py
test_claude_settings_real_io.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
test_codex_catalog_boot.py fix(cli): carry configured service tiers and display names into the lite codex catalog (#49422) 2026-11-18 02:19:48 +00:00
test_config_declared_model_behaviours.py test: replace 61 live logging and otel tests with offline unit and integration coverage (#45362) 2026-10-08 15:55:57 -07:00
test_effective_settings.py chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
test_fips_mode_boot.py feat(proxy): add general_settings.fips_mode startup gate (#48600) 2026-11-03 14:56:14 -08:00
test_json_logs_startup.py fix(proxy): keep every startup line JSON when json_logs is on (#47035) 2026-10-27 14:49:07 -07:00
test_lazy_routes_flag.py test(integration): give chaos and timing tests a harness API and gate raw signals (#46031) 2026-10-12 05:27:33 -07:00
test_main_real_io.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
test_multi_worker_reload.py fix(proxy)!: support reload with multiple workers (#45909) 2026-11-01 00:57:32 +00:00
test_multi_worker_slow_import_boot.py test(integration): give chaos and timing tests a harness API and gate raw signals (#46031) 2026-10-12 05:27:33 -07:00
test_openapi_docs_route.py test(proxy): audit #47352 (#48804) 2026-10-28 05:54:40 -07:00
test_reload_worker_pool.py fix(proxy)!: support reload with multiple workers (#45909) 2026-11-01 00:57:32 +00:00
test_runtime_real_io.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
test_rust_forward.py feat(proxy): supervise the opt-in Rust forwarding server (#49606) 2026-11-11 19:40:00 +00:00
test_rust_forward_lifecycle.py feat(proxy): supervise the opt-in Rust forwarding server (#49606) 2026-11-11 19:40:00 +00:00
test_rust_forward_traffic.py feat(proxy): supervise the opt-in Rust forwarding server (#49606) 2026-11-11 19:40:00 +00:00
test_search_embedding_model_settings.py fix(proxy): treat empty agent and skill search embedding model as not configured (#49485) 2026-10-31 15:32:26 -07:00
test_startup_output.py feat(proxy)!: add suppress_startup_output to turn off startup prints (#47708) 2026-10-29 03:47:04 -07:00
test_unit_conftest_isolation.py test: migrate legacy unit dirs and unrun folders into tests/unit, tests/integration and tests/e2e (#45940) 2026-10-11 06:24:57 -07:00