| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:0e17ef39-31b8-d65d-9c6f-f7e4ce7c413a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AB78:38C5CF:15B0C8:1D1C23:6B00BC06 |
| html-safe-nonce | c80c604fabed076edf32bda9c729f9b2a01599e791007e5c00ef9a932c028e9b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjc4OjM4QzVDRjoxNUIwQzg6MUQxQzIzOjZCMDBCQzA2IiwidmlzaXRvcl9pZCI6IjU4ODAxNTMyNTYxNzIyMzk4NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0925fdf9f3fbcd80055b7e6c2067858bfaf6b06dc1a7f1d092d661a3b1a3133c |
| hovercard-subject-tag | pull_request:2514263720 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/693/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/af596e1abd59a06777e91b739239233078ffa80657a9e06cba868e7e07584247/modelcontextprotocol/python-sdk/pull/693 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af596e1abd59a06777e91b739239233078ffa80657a9e06cba868e7e07584247/modelcontextprotocol/python-sdk/pull/693 |
| og:image:alt | Thank you @jlowin for raising #680 🙏
The StreamableHTTP client was experiencing a deadlock when the server initiated sampling callbacks during request
processing. The issue occurred due to synchron... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ihrpr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/693#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F693 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F693 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| modelcontextprotocol | https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Code | https://github.com/modelcontextprotocol/python-sdk |
| Issues308 (308) | https://github.com/modelcontextprotocol/python-sdk/issues |
| Pull requests112 (112) | https://github.com/modelcontextprotocol/python-sdk/pulls |
| Actions | https://github.com/modelcontextprotocol/python-sdk/actions |
| Projects | https://github.com/modelcontextprotocol/python-sdk/projects |
| Security and quality12 (12) | https://github.com/modelcontextprotocol/python-sdk/security |
| Insights | https://github.com/modelcontextprotocol/python-sdk/insights |
| https://github.com/modelcontextprotocol/python-sdk |
| ihrpr | https://github.com/ihrpr |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| ihrpr/fix-shttp-sampling | https://github.com/modelcontextprotocol/python-sdk/tree/ihrpr/fix-shttp-sampling |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| Commits3 (3) | https://github.com/modelcontextprotocol/python-sdk/pull/693/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/693/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/693/files |
| Fix streamable http sampling | https://github.com/modelcontextprotocol/python-sdk/pull/693#top |
| ihrpr | https://github.com/ihrpr |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| ihrpr/fix-shttp-sampling | https://github.com/modelcontextprotocol/python-sdk/tree/ihrpr/fix-shttp-sampling |
|
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| May 12, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/693#issue-3057409475 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| @jlowin | https://github.com/jlowin |
| #680 | https://github.com/modelcontextprotocol/python-sdk/issues/680 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| ihrpr | https://github.com/ihrpr |
| May 12, 2025 16:35 | https://github.com/modelcontextprotocol/python-sdk/pull/693#commits-pushed-e417b74 |
|
| https://github.com/ihrpr |
| fix sampling in streamable http | https://github.com/modelcontextprotocol/python-sdk/pull/693/commits/e417b745de0aa2f0d448174943c5a78c5e32ba87 |
| e417b74 | https://github.com/modelcontextprotocol/python-sdk/pull/693/commits/e417b745de0aa2f0d448174943c5a78c5e32ba87 |
|
| https://github.com/ihrpr |
| ruff | https://github.com/modelcontextprotocol/python-sdk/pull/693/commits/01df45f1903da2ee734ba598595d4301797fcabd |
| 01df45f | https://github.com/modelcontextprotocol/python-sdk/pull/693/commits/01df45f1903da2ee734ba598595d4301797fcabd |
| https://github.com/jlowin |
| jlowin | https://github.com/jlowin |
| May 12, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/693#issuecomment-2873140963 |
| @ihrpr | https://github.com/ihrpr |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| https://github.com/jlowin |
| jlowin | https://github.com/jlowin |
|
May 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/693#ref-issue-3053561410 |
|
Client sampling hangs without notifying server in FastMCP
PrefectHQ/fastmcp#393
| https://github.com/PrefectHQ/fastmcp/issues/393 |
| https://github.com/jerome3o-anthropic |
| jerome3o-anthropic | https://github.com/jerome3o-anthropic |
|
May 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/693#pullrequestreview-2833817283 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/693/files/01df45f1903da2ee734ba598595d4301797fcabd |
| jerome3o-anthropic | https://github.com/jerome3o-anthropic |
| https://github.com/modelcontextprotocol/python-sdk/pull/693#pullrequestreview-2833817283 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| src/mcp/client/streamable_http.py | https://github.com/modelcontextprotocol/python-sdk/pull/693/files/01df45f1903da2ee734ba598595d4301797fcabd#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
| jerome3o-anthropic | https://github.com/jerome3o-anthropic |
| May 12, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/693#discussion_r2085037616 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| ihrpr | https://github.com/ihrpr |
| May 12, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/693#discussion_r2085128449 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
|
| https://github.com/ihrpr |
| add comment for break | https://github.com/modelcontextprotocol/python-sdk/pull/693/commits/2ae0d8a9940f6cdf86c8a01e2c3d0a060896d87a |
| 2ae0d8a | https://github.com/modelcontextprotocol/python-sdk/pull/693/commits/2ae0d8a9940f6cdf86c8a01e2c3d0a060896d87a |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| jerome3o-anthropic | https://github.com/jerome3o-anthropic |
| stale review | https://github.com/modelcontextprotocol/python-sdk/pull/693#pullrequestreview-2833817283 |
| 2ae0d8a | https://github.com/modelcontextprotocol/python-sdk/commit/2ae0d8a9940f6cdf86c8a01e2c3d0a060896d87a |
| May 12, 2025 17:29 | https://github.com/modelcontextprotocol/python-sdk/pull/693#event-17620936727 |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| c6fb822 | https://github.com/modelcontextprotocol/python-sdk/commit/c6fb822c865c231db6daf4507cdc2088e29456ba |
| May 12, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/693#event-17620965718 |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| May 12, 2025 17:31 | https://github.com/modelcontextprotocol/python-sdk/pull/693#event-17620966044 |
| https://github.com/ufownl |
| ufownl | https://github.com/ufownl |
|
May 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/693#ref-issue-3089809171 |
|
Sampling hangs with the MCP server using Streamable HTTP transport
evalstate/fast-agent#187
| https://github.com/evalstate/fast-agent/issues/187 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Jul 27, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/693#ref-pullrequest-4992955325 |
|
Fail fast on server-to-client requests in JSON-response mode instead of hanging
#3195
| https://github.com/modelcontextprotocol/python-sdk/pull/3195 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F693 |
|
| https://github.com/jerome3o-anthropic |
|
jerome3o-anthropic
| https://github.com/jerome3o-anthropic |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/693/files/01df45f1903da2ee734ba598595d4301797fcabd |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/693 |
|
| https://github.com/ihrpr |
|
| https://github.com/jlowin |
|
| https://github.com/jerome3o-anthropic |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |