style: apply black formatting to vertex gemini accumulator

This commit is contained in:
Tai An 2026-05-29 12:06:10 -07:00
parent 9892459b13
commit 92b3913655

View file

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