mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
style: format with Black (py312 target)
This commit is contained in:
parent
95e14fc632
commit
d3e43237e6
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue