Skip to content

Cancellation support via CancellationToken's fails #1365

@mitchcapper

Description

@mitchcapper

Describe the bug
On a tool call the client does take a CancellationToken however it seems to just abort the http request and not send a cancellation notification. The server side tool calls are shown taking CancellationToken's but I don't see what ever triggers them in that normal tool flow.

The client should send a cancel notification when the cancel token is used, and the server should trigger the tool cancel token both if it gets the cancel notification or if the connection drops.

working on a PR to do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproInsufficient information to reproduce

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions