fix timestamps and user

This commit is contained in:
Vince Loewe 2024-02-27 22:30:32 -08:00
parent c8a0a38c2a
commit 91f77fa7a6
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,