(feat) set custom_llm_provider for embedding hidden params

This commit is contained in:
ishaan-jaff 2024-01-12 17:35:08 -08:00
parent f85b64b85c
commit 7f37d7e44f

View file

@ -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