ollama-python/ollama
Oscar Neira 81edab1b64
_stream in async client raises RuntimeError processing HTTP errors (#266)
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()
2024-08-29 16:45:57 -07:00
..
__init__.py Support api/embed (#208) 2024-07-18 10:40:30 -07:00
_client.py _stream in async client raises RuntimeError processing HTTP errors (#266) 2024-08-29 16:45:57 -07:00
_types.py Update Message annotations to support tool calls (#227) 2024-07-29 10:39:09 -07:00
py.typed Add py.typed to mark the library as typed 2024-04-25 10:51:30 +01:00