mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(fix) embedding() using get_llm_provider
This commit is contained in:
parent
9884bbd196
commit
0b0564167c
1 changed files with 1 additions and 1 deletions
|
@ -1497,7 +1497,7 @@ def embedding(
|
|||
Raises:
|
||||
- exception_type: If an exception occurs during the API call.
|
||||
"""
|
||||
model, custom_llm_provider, dynamic_api_key, api_base = get_llm_provider(model, custom_llm_provider)
|
||||
model, custom_llm_provider, dynamic_api_key, api_base = get_llm_provider(model=model, custom_llm_provider=custom_llm_provider, api_base=api_base)
|
||||
try:
|
||||
response = None
|
||||
logging = litellm_logging_obj
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue