mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-16 04:18:49 +00:00
test fixes for embedding
This commit is contained in:
@@ -1223,6 +1223,10 @@ def get_llm_provider(model: str, custom_llm_provider: Optional[str] = None):
|
||||
## petals
|
||||
elif model in litellm.petals_models:
|
||||
custom_llm_provider = "petals"
|
||||
elif model in litellm.open_ai_embedding_models:
|
||||
custom_llm_provider = "openai"
|
||||
elif model in litellm.cohere_embedding_models:
|
||||
custom_llm_provider == "cohere"
|
||||
|
||||
if custom_llm_provider is None or custom_llm_provider=="":
|
||||
print()
|
||||
|
||||
Reference in New Issue
Block a user