fix(router.py): check if fallbacks is none

This commit is contained in:
Krrish Dholakia 2023-11-25 14:58:07 -08:00
parent 95579fda7d
commit ab0bc87427
4 changed files with 11 additions and 5 deletions

View file

@ -116,7 +116,7 @@ def test_reading_key_from_model_list():
except Exception as e:
os.environ["AZURE_API_KEY"] = old_api_key
print(f"FAILED TEST")
pytest.fail("Got unexpected exception on router!", e)
pytest.fail(f"Got unexpected exception on router! - {e}")
# test_reading_key_from_model_list()