mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix co embeddings
This commit is contained in:
parent
76956cce52
commit
762d590500
1 changed files with 2 additions and 2 deletions
|
@ -1240,8 +1240,8 @@ def get_llm_provider(model: str, custom_llm_provider: Optional[str] = None):
|
|||
elif model in litellm.open_ai_embedding_models:
|
||||
custom_llm_provider = "openai"
|
||||
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=="":
|
||||
print()
|
||||
print("\033[1;31mProvider List: https://docs.litellm.ai/docs/providers\033[0m")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue