-
Notifications
You must be signed in to change notification settings - Fork 222
example: add example in progress #271
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
base: main
Are you sure you want to change the base?
Conversation
i see the "simualte getting from a stream" but to really test, i would create a stream and process the resulting stream |
after that is added and you run the test, you should be able to see the return inconsistency |
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.
LGTM
I was able to verify/successfully run the example @schwifty-brows via ![]() Were you running into something different than me? |
Yes check out the issues here
#262
…________________________________
From: Alex Hancock ***@***.***>
Sent: Friday, June 20, 2025 11:51:28 AM
To: modelcontextprotocol/rust-sdk ***@***.***>
Cc: Matthew Schneid ***@***.***>; Mention ***@***.***>
Subject: Re: [modelcontextprotocol/rust-sdk] example: add example in progress (PR #271)
[https://avatars.githubusercontent.com/u/427516?s=20&v=4]alexhancock left a comment (modelcontextprotocol/rust-sdk#271)<#271 (comment)>
I was able to verify/successfully run the example @schwifty-brows<https://github.com/schwifty-brows> via python3 progress_test_client.py in examples/clients/scripts
Screenshot.2025-06-20.at.11.49.45.AM.png (view on web)<https://github.com/user-attachments/assets/e92779cb-fed3-4b71-abf8-a8c37277b52e>
Were you running into something different than me?
—
Reply to this email directly, view it on GitHub<#271 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BLLRQDZC5LMU4LBBIKLHCRT3EQUYBAVCNFSM6AAAAAB7TD2326VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSOJSGEYTSOJQHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I think it is not rmcp's problem , I think it should be your business flow problem @schwifty-brows . And I have tested all the transport. The current example file structure is not very good. In fact, this example is better placed in an integration test. I will modify this structure in another pr. @alexhancock |
how should we be sending SSE messages back? the progress notification is meant to do this, but running a simple example does not consistently work |
Motivation and Context
add a example to introduce progress
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context