mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
Update litellm/litellm_core_utils/litellm_logging.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
a915d896e7
commit
c46371c8cd
1 changed files with 1 additions and 3 deletions
|
|
@ -2917,12 +2917,10 @@ class Logging(LiteLLMLoggingBaseClass):
|
|||
start_time=start_time,
|
||||
end_time=end_time,
|
||||
print_verbose=print_verbose,
|
||||
callback_func=callback,
|
||||
)
|
||||
if (
|
||||
isinstance(callback, CustomLogger)
|
||||
and is_sync_request
|
||||
and (self.call_type != CallTypes.pass_through.value) # pass-through endpoints call async_log_failure_event
|
||||
and self.call_type != CallTypes.pass_through.value # pass-through endpoints call async_log_failure_event
|
||||
): # custom logger class
|
||||
callback.log_failure_event(
|
||||
start_time=start_time,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue