You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/lib/streaming/_messages.py", line 342, in stream_text
async for chunk in self:
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/_streaming.py", line 141, in aiter
async for item in self._iterator:
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/lib/streaming/_messages.py", line 321, in stream
async for event in super().stream():
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/_streaming.py", line 154, in stream
async for sse in iterator:
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/_streaming.py", line 145, in _iter_events
async for sse in self._decoder.aiter_bytes(self.response.aiter_bytes()):
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/_streaming.py", line 294, in aiter_bytes
line = raw_line.decode("utf-8")
^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
The text was updated successfully, but these errors were encountered:
call method messages.stream, got a exception:
Traceback:
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/lib/streaming/_messages.py", line 342, in stream_text
async for chunk in self:
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/_streaming.py", line 141, in aiter
async for item in self._iterator:
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/lib/streaming/_messages.py", line 321, in stream
async for event in super().stream():
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/_streaming.py", line 154, in stream
async for sse in iterator:
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/_streaming.py", line 145, in _iter_events
async for sse in self._decoder.aiter_bytes(self.response.aiter_bytes()):
File "/path/to/project/.venv/lib/python3.11/site-packages/anthropic/_streaming.py", line 294, in aiter_bytes
line = raw_line.decode("utf-8")
^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
The text was updated successfully, but these errors were encountered: