test(router): use an unmapped model so get_configured_mode tests do not write into the global cost map

This commit is contained in:
mubashir1osmani 2026-09-03 16:40:58 -04:00
parent b86a0b5562
commit 4e0907fb2d

View file

@ -12560,7 +12560,7 @@ def test_get_configured_mode_reads_deployment_model_info():
model_list=[
{
"model_name": "my-tts",
"litellm_params": {"model": "openai/tts-1", "api_key": "fake-key"},
"litellm_params": {"model": "openai/some-unmapped-mode-model"},
"model_info": {"mode": "audio_speech"},
}
]
@ -12575,7 +12575,7 @@ def test_get_configured_mode_returns_none_for_unset_blank_or_unknown(model_info)
model_list=[
{
"model_name": "plain-model",
"litellm_params": {"model": "openai/gpt-4o-mini", "api_key": "fake-key"},
"litellm_params": {"model": "openai/some-unmapped-mode-model"},
"model_info": model_info,
}
]