fix - track litellm_model_name in LiteLLM_ErrorLogs

This commit is contained in:
Ishaan Jaff 2024-04-30 17:31:40 -07:00
parent 8a1a043801
commit f2849d0641
3 changed files with 3 additions and 0 deletions

View file

@ -1258,6 +1258,7 @@ async def _PROXY_failure_handler(
request_id=str(uuid.uuid4()),
model_group=_model_group,
model_id=_model_id,
litellm_model_name=kwargs.get("model"),
request_kwargs=_optional_params,
api_base=api_base,
exception_type=_exception_type,