mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-30 01:52:18 +00:00
style: apply black formatting to vertex gemini accumulator
This commit is contained in:
parent
9892459b13
commit
92b3913655
1 changed files with 1 additions and 1 deletions
|
|
@ -3497,7 +3497,7 @@ class ModelResponseIterator:
|
|||
# the growing buffer on every chunk -- the empty-string flush from
|
||||
# __next__/__anext__ at StopIteration still forces a final attempt.
|
||||
_stripped = message.rstrip()
|
||||
if _stripped and _stripped[-1] not in ('}', ']'):
|
||||
if _stripped and _stripped[-1] not in ("}", "]"):
|
||||
return None
|
||||
_full_json = "".join(self.accumulated_json_chunks)
|
||||
if not _full_json:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue