-
Couldn't load subscription status.
- Fork 548
Implement cancellation notifications #146
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
Implement cancellation notifications #146
Conversation
af43905 to
5507c56
Compare
src/ModelContextProtocol/Protocol/Messages/ProgressNotification.cs
Outdated
Show resolved
Hide resolved
5507c56 to
fdda2b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For later: It should probably documented that tool methods can use CancellationToken in the signature to hook into the cancellation notifications. Even if that is built-in functionality for AIFunction, it would be valuable to know that the CancellationToken is a combined one.
fdda2b5 to
b87bb40
Compare
(Ignore the first commit; it's just #145, which this builds on top of.)
Closes #112