-
Notifications
You must be signed in to change notification settings - Fork 42
Actually stream the data #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…inActor.run` is blocking
|
I don't think I've fully fixed this yet :/ |
|
Thanks for digging into this, @nathanborror! I recall this working as intended in a previous release, so maybe this was a regression from #13. It could also be a bug in the upstream EventStream package that we use to process SSEs. |
|
I think the main issue is |
Oh yeah, that's exactly the problem. Sorry about that! |
Sources/AnyLanguageModel/Extensions/URLSession+Extensions.swift
Outdated
Show resolved
Hide resolved
a965626 to
3be3707
Compare
|
Thanks again for your help with this, @nathanborror! I just tested this out locally, and responses appear to be streaming as expected. |
|
This is now available in 0.4.4 |
Fixes a bug where data that is supposed to be streaming in is stalled until the stream has completed.