This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Async generators have no real way to deal with cancellation via
AbortController in modern JS. This commit adds a check for an aborted
signal before every yield in the core/submitChat generator, then throws
the error if the signal has been aborted.
This should prevent yields from happening after the signal has been aborted.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@markprompt/core@0.26.1
Patch Changes
e86f71438cdf599f37f243a4597596a3ca0a790a
Thanks @nickrttn! - Improve handling of aborted requests by checking for an aborted signal before every yield insubmitChat
Async generators have no real way to deal with cancellation via AbortController in modern JS. This commit adds a check for an aborted signal before every yield in the core/submitChat generator, then throws the error if the signal has been aborted.
This should prevent yields from happening after the signal has been aborted.
@markprompt/docusaurus-theme-search@0.20.3
Patch Changes
c400bb2681451d1be9a298b32d6d157dcc9aa222
]:@markprompt/react@0.40.3
Patch Changes
c400bb2681451d1be9a298b32d6d157dcc9aa222
Thanks @nickrttn! - No longer write messages for an aborted request to a conversation they do not belong toUpdated dependencies [
e86f71438cdf599f37f243a4597596a3ca0a790a
]:@markprompt/web@0.30.3
Patch Changes
e86f71438cdf599f37f243a4597596a3ca0a790a
,c400bb2681451d1be9a298b32d6d157dcc9aa222
]: