mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix timestamps and user
This commit is contained in:
parent
a9648613dc
commit
4e74582b6f
3 changed files with 34 additions and 23 deletions
|
@ -1347,7 +1347,8 @@ class Logging:
|
|||
event="end",
|
||||
model=model,
|
||||
input=input,
|
||||
user_id=self.model_call_details.get("user", "default"),
|
||||
user_id=self.model_call_details.get("user_id", self.model_call_details.get("user", None)),
|
||||
#user_props=self.model_call_details.get("user_props", None),
|
||||
extra=self.model_call_details.get("optional_params", {}),
|
||||
response_obj=result,
|
||||
start_time=start_time,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue