Skip to content

Conversation

stephentoub
Copy link
Contributor

(Ignore the first commit; it's just #145, which this builds on top of.)

Closes #112

@stephentoub stephentoub force-pushed the implementcancellation branch 2 times, most recently from af43905 to 5507c56 Compare March 31, 2025 02:52
@stephentoub stephentoub force-pushed the implementcancellation branch from 5507c56 to fdda2b5 Compare March 31, 2025 13:33
Copy link
Collaborator

@PederHP PederHP left a 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.

@stephentoub stephentoub force-pushed the implementcancellation branch from fdda2b5 to b87bb40 Compare March 31, 2025 13:55
@stephentoub stephentoub merged commit 8fe96bf into modelcontextprotocol:main Mar 31, 2025
8 checks passed
@stephentoub stephentoub deleted the implementcancellation branch March 31, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cancellation protocol operation not implemented.
4 participants