ollama / ollama-js

Ollama JavaScript library
https://ollama.ai
MIT License
1.56k stars 103 forks source link

Streamable requests should return an iterable class containing their own AbortController and corresponding `abort` method #95

Closed hopperelec closed 2 weeks ago

hopperelec commented 1 month ago

Personally, I would find this much more intuitive. It would also allow for making multiple streamable requests at once while still being able to abort them