Replies: 3 comments
-
Sample Python code: The communication to get the tools and execute the tools works as expected, but when the server responds with the sampling request the callback will not execute at the client and the operation will cancel at the server.
|
Beta Was this translation helpful? Give feedback.
-
Got a working sample in C#, but my Python code still will not work:
|
Beta Was this translation helpful? Give feedback.
-
Solved, this was a python issue, missing from the documentation.
|
Beta Was this translation helpful? Give feedback.
-
Pre-submission Checklist
Discussion Topic
Anyone can provide a sample with a client that supports sampling?
I tried connecting a Python client to the MCP Sse Server sample, but the callback method is never reached in my Python code.
As for .NET I did not find any sample demonstrating sampling.
Beta Was this translation helpful? Give feedback.
All reactions