From d3e43237e6b7e22faca8014192c4a82a5d207cab Mon Sep 17 00:00:00 2001 From: renearaos Date: Fri, 19 Jun 2026 10:37:56 -0400 Subject: [PATCH] style: format with Black (py312 target) --- litellm/llms/minimax/chat/transformation.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/litellm/llms/minimax/chat/transformation.py b/litellm/llms/minimax/chat/transformation.py index 4508bab345f..1dd4da52f7b 100644 --- a/litellm/llms/minimax/chat/transformation.py +++ b/litellm/llms/minimax/chat/transformation.py @@ -173,7 +173,11 @@ class MinimaxChatResponseIterator(OpenAIChatCompletionStreamingHandler): ) self.finished_reasoning_content = True self.plain_chunk_count = 0 - elif not self.finished_reasoning_content and self.plain_chunk_count < self.MAX_PLAIN_CHUNKS and content.strip(): + elif ( + not self.finished_reasoning_content + and self.plain_chunk_count < self.MAX_PLAIN_CHUNKS + and content.strip() + ): if not self.started_reasoning_content: self.started_reasoning_content = True self.plain_chunk_count += 1