-
Notifications
You must be signed in to change notification settings - Fork 765
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
Add client handling for sampling, list roots, ping #218
Conversation
Should I close #132 if you are moving the functionality here? |
Happy to merge this into your PR, or to merge this and close yours - up to you @SecretiveShell |
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.
This is great, thanks for doing that.
Adds sampling and list roots callbacks to the ClientSession, allowing the client to handle requests from the server. Co-authored-by: TerminalMan <[email protected]> Co-authored-by: David Soria Parra <[email protected]>
how to use sampling in server? |
Adds sampling and list roots callbacks to the ClientSession, allowing the client to handle requests from the server.
This extends the work done by @SecretiveShell in #132, and they should get attribution (I mostly just copy pasted their patterns)
Motivation and Context
How Has This Been Tested?
There are some tests
Breaking Changes
N/A
Types of changes
Checklist
Additional context