mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(test) custom logger proxy
This commit is contained in:
parent
f3131f1254
commit
da96f5a5ac
3 changed files with 18 additions and 6 deletions
|
@ -326,7 +326,7 @@ def test_model_group_aliases():
|
|||
selected_model = router.get_available_deployment("gpt-4")
|
||||
print("\n selected model", selected_model)
|
||||
selected_model_name = selected_model.get("model_name")
|
||||
if selected_model_name is not "gpt-3.5-turbo":
|
||||
if selected_model_name != "gpt-3.5-turbo":
|
||||
pytest.fail(f"Selected model {selected_model_name} is not gpt-3.5-turbo")
|
||||
|
||||
router.reset()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue