mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
fix custom Logger is None
This commit is contained in:
parent
0a94953896
commit
03f79f78db
1 changed files with 3 additions and 0 deletions
|
|
@ -1405,6 +1405,9 @@ class Logging:
|
|||
end_time=end_time,
|
||||
)
|
||||
if callable(callback): # custom logger functions
|
||||
global customLogger
|
||||
if customLogger is None:
|
||||
customLogger = CustomLogger()
|
||||
if self.stream:
|
||||
if (
|
||||
"async_complete_streaming_response"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue