mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix co embeddings
This commit is contained in:
parent
76956cce52
commit
762d590500
1 changed files with 2 additions and 2 deletions
|
@ -1240,7 +1240,7 @@ def get_llm_provider(model: str, custom_llm_provider: Optional[str] = None):
|
||||||
elif model in litellm.open_ai_embedding_models:
|
elif model in litellm.open_ai_embedding_models:
|
||||||
custom_llm_provider = "openai"
|
custom_llm_provider = "openai"
|
||||||
elif model in litellm.cohere_embedding_models:
|
elif model in litellm.cohere_embedding_models:
|
||||||
custom_llm_provider == "cohere"
|
custom_llm_provider = "cohere"
|
||||||
|
|
||||||
if custom_llm_provider is None or custom_llm_provider=="":
|
if custom_llm_provider is None or custom_llm_provider=="":
|
||||||
print()
|
print()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue