forked from phoenix/litellm-mirror
fix use azure_ai/mistral
This commit is contained in:
parent
5ce80d82d3
commit
6b9c04618e
2 changed files with 12 additions and 43 deletions
|
@ -5579,7 +5579,7 @@ def get_llm_provider(
|
|||
model_name = model.split("/", 1)[1]
|
||||
if (
|
||||
model_name in litellm.cohere_chat_models
|
||||
or model_name in litellm.mistral_chat_models
|
||||
or f"mistral/{model_name}" in litellm.mistral_chat_models
|
||||
):
|
||||
custom_llm_provider = "openai"
|
||||
model = model_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue