fix(utils.py/completion_with_fallbacks): accept azure deployment name in rotations

This commit is contained in:
Krrish Dholakia 2023-10-27 16:00:28 -07:00
parent ab3b067754
commit afe14c8a96
3 changed files with 224 additions and 56 deletions

View file

@ -1087,6 +1087,7 @@ def completion(
api_base = (
litellm.api_base or
api_base or
get_secret("OLLAMA_API_BASE") or
"http://localhost:11434"
)