forked from phoenix/litellm-mirror
track api_call_start_time
This commit is contained in:
parent
65c0626aa4
commit
e2cdb00a81
1 changed files with 2 additions and 0 deletions
|
@ -354,6 +354,8 @@ class Logging:
|
|||
str(e)
|
||||
)
|
||||
)
|
||||
|
||||
self.model_call_details["api_call_start_time"] = datetime.datetime.now()
|
||||
# Input Integration Logging -> If you want to log the fact that an attempt to call the model was made
|
||||
callbacks = litellm.input_callback + self.dynamic_input_callbacks
|
||||
for callback in callbacks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue