forked from phoenix/litellm-mirror
fix(router.py): init clients for azure/openai on set_model_list
This commit is contained in:
parent
4791dda66f
commit
4d8376a8e9
1 changed files with 3 additions and 0 deletions
|
@ -899,6 +899,9 @@ class Router:
|
|||
if (
|
||||
model_name in litellm.open_ai_chat_completion_models
|
||||
or custom_llm_provider in litellm.openai_compatible_providers
|
||||
or custom_llm_provider == "azure"
|
||||
or custom_llm_provider == "custom_openai"
|
||||
or custom_llm_provider == "openai"
|
||||
or "ft:gpt-3.5-turbo" in model_name
|
||||
or model_name in litellm.open_ai_embedding_models
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue