mirror of
https://github.com/ollama/ollama-python.git
synced 2026-01-14 06:07:17 +08:00
Fixes a bug processing errors in async client. When response in _stream has an HTTP error, the process raises a RuntimeError("Attempted to call a sync iterator on an async stream.") due to use of e.response.read() instead of await e.response.aread()
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _client.py | ||
| _types.py | ||
| py.typed | ||