From 7abc676d49361390ffcf3db63fe093a5286562da Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sun, 8 Nov 2026 01:27:20 +0000 Subject: [PATCH] style(streaming): ruff format streaming_handler.py --- litellm/litellm_core_utils/streaming_handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/litellm_core_utils/streaming_handler.py b/litellm/litellm_core_utils/streaming_handler.py index 9c2d729863f..fb5676b494d 100644 --- a/litellm/litellm_core_utils/streaming_handler.py +++ b/litellm/litellm_core_utils/streaming_handler.py @@ -2512,7 +2512,9 @@ class CustomStreamWrapper: traceback_exception: Final = traceback.format_exc() public_exception: Final = self._public_stream_exception(e) # LOG FAILURE - handle streaming failure logging in the _next_ object, remove `handle_failure` once it's deprecated - threading.Thread(target=self.logging_obj.failure_handler, args=(public_exception, traceback_exception)).start() + threading.Thread( + target=self.logging_obj.failure_handler, args=(public_exception, traceback_exception) + ).start() self.close() self._handle_stream_fallback_error(e, public_exception)