mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(feat) set custom_llm_provider for embedding hidden params
This commit is contained in:
parent
f85b64b85c
commit
7f37d7e44f
1 changed files with 2 additions and 0 deletions
|
@ -2512,6 +2512,8 @@ def embedding(
|
|||
else:
|
||||
args = locals()
|
||||
raise ValueError(f"No valid embedding model args passed in - {args}")
|
||||
if response is not None:
|
||||
response._hidden_params["custom_llm_provider"] = custom_llm_provider
|
||||
return response
|
||||
except Exception as e:
|
||||
## LOGGING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue