mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
test fixes for embedding
This commit is contained in:
parent
b8a35168ce
commit
acc15f5778
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue