mirror of
https://github.com/ollama/ollama-python.git
synced 2026-09-08 04:09:54 +00:00
@@ -138,7 +138,7 @@ async def chat():
|
|||||||
asyncio.run(chat())
|
asyncio.run(chat())
|
||||||
```
|
```
|
||||||
|
|
||||||
Setting `stream=True`` modifies functions to return a Python asynchronous generator:
|
Setting `stream=True` modifies functions to return a Python asynchronous generator:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|||||||
Reference in New Issue
Block a user