mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(utils.py): return vertex api base for request hanging alerts
This commit is contained in:
parent
96e995f53b
commit
f4b595ce71
1 changed files with 1 additions and 1 deletions
|
@ -193,8 +193,8 @@ class ProxyLogging:
|
|||
# Convert the timedelta to float (in seconds)
|
||||
time_difference_float = time_difference.total_seconds()
|
||||
litellm_params = kwargs.get("litellm_params", {})
|
||||
api_base = litellm_params.get("api_base", "")
|
||||
model = kwargs.get("model", "")
|
||||
api_base = litellm.get_api_base(model=model, optional_params=litellm_params)
|
||||
messages = kwargs.get("messages", "")
|
||||
|
||||
return time_difference_float, model, api_base, messages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue