-
Notifications
You must be signed in to change notification settings - Fork 384
Closed
Labels
help wantedContributions welcome from those familiar with codebase. Comment first to say you're working on itContributions welcome from those familiar with codebase. Comment first to say you're working on it
Description
Describe the bug
When elicitation request is canceled or declined, current implementation still attempts to validate content against schema
To Reproduce
- Register MCP server (with tool sending elicitation request) in GitHub Copilot
- Enter prompt that would trigger MCP server tool
- When elicitation request received, cancel it
Expected behavior
In such scenario, SDK call(ServerSession.Elicit(...)) expected to return response back with cancel action.
Instead, implementation attempts to validate elicitation response.
Logs
Additional context
I believe validating content against schema only for accept action type should solve this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedContributions welcome from those familiar with codebase. Comment first to say you're working on itContributions welcome from those familiar with codebase. Comment first to say you're working on it