mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix(ci): update router region test to use gpt-4.1-mini (fix flaky model lookup)
Replace deprecated gpt-3.5-turbo-1106 with gpt-4.1-mini + mock_response in
test_router_region_pre_call_check, following the same pattern used in commit
717d37cc5b for test_router_context_window_check_pre_call_check_out_group.
Co-authored-by: Ishaan Jaff <ishaan-jaff@users.noreply.github.com>
This commit is contained in:
parent
cffc92bebe
commit
951ecff4b2
1 changed files with 2 additions and 1 deletions
|
|
@ -907,8 +907,9 @@ def test_router_region_pre_call_check(allowed_model_region):
|
|||
{
|
||||
"model_name": "gpt-3.5-turbo-large", # openai model name
|
||||
"litellm_params": { # params for litellm completion/embedding call
|
||||
"model": "gpt-3.5-turbo-1106",
|
||||
"model": "gpt-4.1-mini",
|
||||
"api_key": os.getenv("OPENAI_API_KEY"),
|
||||
"mock_response": "This is a mock response.",
|
||||
},
|
||||
"model_info": {"id": "2"},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue