add api manager

This commit is contained in:
Krrish Dholakia 2023-09-09 15:55:36 -07:00
parent 15c40625c6
commit a39756bfda
10 changed files with 110 additions and 19 deletions

View file

@ -168,7 +168,7 @@ def completion(
model_alias_map=litellm.model_alias_map,
completion_call_id=id
)
logging.update_environment_variables(model=model, optional_params=optional_params, litellm_params=litellm_params)
logging.update_environment_variables(model=model, user=user, optional_params=optional_params, litellm_params=litellm_params)
if custom_llm_provider == "azure":
# azure configs
openai.api_type = "azure"