mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +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:
|
Raises:
|
||||||
- exception_type: If an exception occurs during the API call.
|
- 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:
|
try:
|
||||||
response = None
|
response = None
|
||||||
logging = litellm_logging_obj
|
logging = litellm_logging_obj
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue