fix custom Logger is None

This commit is contained in:
Ishaan Jaff 2024-07-17 17:26:51 -07:00
parent 0a94953896
commit 03f79f78db

View File

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