fix timestamps and user

This commit is contained in:
Vince Loewe 2024-02-27 22:30:32 -08:00
parent a9648613dc
commit 4e74582b6f
3 changed files with 34 additions and 23 deletions

View file

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