mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-24 16:27:13 +00:00
(feat) set custom_llm_provider for embedding hidden params
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user