René's URL Explorer Experiment


Title: fix: support freeform stopReason in sampling by LucaButBoring · Pull Request #327 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: fix: support freeform stopReason in sampling by LucaButBoring · Pull Request #327 · modelcontextprotocol/java-sdk

X Title: fix: support freeform stopReason in sampling by LucaButBoring · Pull Request #327 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - fix: support freeform stopReason in sampling by LucaButBoring · Pull Request #327 · modelcontextprotocol/java-sdk

Open Graph Description: Supports freeform stop reasons in sampling responses by mapping them to a new UNKNOWN value. Motivation and Context Previously, sampling response parsing would fail if a stopReason was provided bes...

X Description: Supports freeform stop reasons in sampling responses by mapping them to a new UNKNOWN value. Motivation and Context Previously, sampling response parsing would fail if a stopReason was provided bes...

Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/327

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7ab129d9-38b2-c0e3-a466-873e6d3b0cfc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F98:1CA2B7:C49771:1029068:6A5B0AE2
html-safe-noncef82f73ae5733c32dbd49ef9b2f5ed1b4b32b09ce1775b04af5ae6ee3bd90a679
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Rjk4OjFDQTJCNzpDNDk3NzE6MTAyOTA2ODo2QTVCMEFFMiIsInZpc2l0b3JfaWQiOiI2MDM5NDc1NzcyMzgxMTM3NjM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac77c3fdbbab679eaf4230cf9cb92906a49d9fdb09b0cc0cb1400d589039f8ca0b
hovercard-subject-tagpull_request:2605713560
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/java-sdk/327/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f5240afb3174c55245bda38404dcce065f55a8b106873fe6f63fd419a1c9e213/modelcontextprotocol/java-sdk/pull/327
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f5240afb3174c55245bda38404dcce065f55a8b106873fe6f63fd419a1c9e213/modelcontextprotocol/java-sdk/pull/327
og:image:altSupports freeform stop reasons in sampling responses by mapping them to a new UNKNOWN value. Motivation and Context Previously, sampling response parsing would fail if a stopReason was provided bes...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLucaButBoring
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id919609219
octolytics-dimension-repository_nwomodelcontextprotocol/java-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id919609219
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/java-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/java-sdk/pull/327#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F327
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F327
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%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/327
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/327
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/327
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 978 https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Star 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Code https://github.com/modelcontextprotocol/java-sdk
Issues 133 https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests 147 https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality 2 https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Code https://github.com/modelcontextprotocol/java-sdk
Issues https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
LucaButBoringhttps://github.com/LucaButBoring
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
LucaButBoring:fix/sampling-stop-reasonhttps://github.com/LucaButBoring/mcp-java-sdk/tree/fix/sampling-stop-reason
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/327
Commits3 (3)https://github.com/modelcontextprotocol/java-sdk/pull/327/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/327/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/327/files
fix: support freeform stopReason in samplinghttps://github.com/modelcontextprotocol/java-sdk/pull/327#top
LucaButBoringhttps://github.com/LucaButBoring
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
LucaButBoring:fix/sampling-stop-reasonhttps://github.com/LucaButBoring/mcp-java-sdk/tree/fix/sampling-stop-reason
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
Jun 19, 2025https://github.com/modelcontextprotocol/java-sdk/pull/327#issue-3161336530
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
https://github.com/modelcontextprotocol/modelcontextprotocol/blob/f5ccad944fdf2b7d9cc70cf817f66ca5a8aa03a4/schema/2024-11-05/schema.ts#L807https://github.com/modelcontextprotocol/modelcontextprotocol/blob/f5ccad944fdf2b7d9cc70cf817f66ca5a8aa03a4/schema/2024-11-05/schema.ts#L807
MCP Documentationhttps://modelcontextprotocol.io
#328https://github.com/modelcontextprotocol/java-sdk/issues/328
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
https://github.com/LucaButBoring
fix: support freeform stopReason in samplinghttps://github.com/modelcontextprotocol/java-sdk/pull/327/commits/1c1d80d5d4589cd3b97540d7dcf56631ded6c123
1c1d80dhttps://github.com/modelcontextprotocol/java-sdk/pull/327/commits/1c1d80d5d4589cd3b97540d7dcf56631ded6c123
https://github.com/modelcontextprotocol/modelcontextprotocol/blob/f5ccad944fdf2b7d9cc70cf817f66ca5a8aa03a4/schema/2024-11-05/schema.ts#L807https://github.com/modelcontextprotocol/modelcontextprotocol/blob/f5ccad944fdf2b7d9cc70cf817f66ca5a8aa03a4/schema/2024-11-05/schema.ts#L807
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
Jun 19, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/327#ref-issue-3161337516
Freeform stopReasons in sampling responses are unsupported #328 https://github.com/modelcontextprotocol/java-sdk/issues/328
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 20, 2025https://github.com/modelcontextprotocol/java-sdk/pull/327#event-18250866757
https://github.com/tzolov
tzolovhttps://github.com/tzolov
0.11.0https://github.com/modelcontextprotocol/java-sdk/milestone/4
Jun 20, 2025https://github.com/modelcontextprotocol/java-sdk/pull/327#event-18250868000
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 23, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/327#pullrequestreview-2948956273
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/327/files/1c1d80d5d4589cd3b97540d7dcf56631ded6c123
mcp/src/main/java/io/modelcontextprotocol/spec/McpSchema.javahttps://github.com/modelcontextprotocol/java-sdk/pull/327/files/1c1d80d5d4589cd3b97540d7dcf56631ded6c123#diff-7c583d4100f6f82ae04b845660c8859d1820e6acf314dbcf6038c4683ba72b9d
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 23, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/327#pullrequestreview-2949069072
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/327/files/1c1d80d5d4589cd3b97540d7dcf56631ded6c123
tzolovhttps://github.com/tzolov
https://github.com/modelcontextprotocol/java-sdk/pull/327#pullrequestreview-2949069072
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@LucaButBoringhttps://github.com/LucaButBoring
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
Jun 23, 2025https://github.com/modelcontextprotocol/java-sdk/pull/327#issuecomment-2997248561
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
LucaButBoringhttps://github.com/LucaButBoring
June 23, 2025 10:13https://github.com/modelcontextprotocol/java-sdk/pull/327#commits-pushed-c9b211a
https://github.com/LucaButBoring
Merge branch 'main' into fix/sampling-stop-reasonhttps://github.com/modelcontextprotocol/java-sdk/pull/327/commits/c9b211a8f696dc63ea15bd7b51268ed199fffbe2
c9b211ahttps://github.com/modelcontextprotocol/java-sdk/pull/327/commits/c9b211a8f696dc63ea15bd7b51268ed199fffbe2
https://github.com/LucaButBoring
chore: add missinghttps://github.com/modelcontextprotocol/java-sdk/pull/327/commits/4f703e02c69a351ed0171f477cca6e1c2d0fdbbf
@JsonPropertyhttps://github.com/JsonProperty
to StopReason.UNKNOWNhttps://github.com/modelcontextprotocol/java-sdk/pull/327/commits/4f703e02c69a351ed0171f477cca6e1c2d0fdbbf
4f703e0https://github.com/modelcontextprotocol/java-sdk/pull/327/commits/4f703e02c69a351ed0171f477cca6e1c2d0fdbbf
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/327#issuecomment-2998760821
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
tzolovhttps://github.com/tzolov
Jun 24, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/327#ref-commit-aff24fd
https://github.com/LucaButBoring
https://github.com/tzolov
fix: support freeform stopReason in sampling (https://github.com/modelcontextprotocol/java-sdk/commit/aff24fdf2fd24a942337900c772c2f63f1a8bbfe
#327https://github.com/modelcontextprotocol/java-sdk/pull/327
)https://github.com/modelcontextprotocol/java-sdk/commit/aff24fdf2fd24a942337900c772c2f63f1a8bbfe
aff24fdhttps://github.com/modelcontextprotocol/java-sdk/commit/aff24fdf2fd24a942337900c772c2f63f1a8bbfe
https://github.com/modelcontextprotocol/modelcontextprotocol/blob/f5ccad944fdf2b7d9cc70cf817f66ca5a8aa03a4/schema/2024-11-05/schema.ts#L807https://github.com/modelcontextprotocol/modelcontextprotocol/blob/f5ccad944fdf2b7d9cc70cf817f66ca5a8aa03a4/schema/2024-11-05/schema.ts#L807
#328https://github.com/modelcontextprotocol/java-sdk/issues/328
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/327#issuecomment-2998786295
aff24fdhttps://github.com/modelcontextprotocol/java-sdk/commit/aff24fdf2fd24a942337900c772c2f63f1a8bbfe
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/327#event-18285481166
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jul 22, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/327#ref-issue-3221188140
Release 0.11.0 #386 https://github.com/modelcontextprotocol/java-sdk/issues/386
rhishirajnemahttps://github.com/rhishirajnema
Jun 25, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/327#ref-commit-7f007e3
https://github.com/parth-iprime
https://github.com/jitokim
https://github.com/denniskawurek
https://github.com/chemicL
https://github.com/tzolov
https://github.com/LucaButBoring
https://github.com/pantanurag555
https://github.com/JooKS-me
https://github.com/sunyuhan1998
https://github.com/gongwn1
https://github.com/epaga
https://github.com/OrGivati
https://github.com/bzsurbhi
https://github.com/Kehrlann
https://github.com/134130
https://github.com/ZachGerman
https://github.com/ilayaperumalg
https://github.com/quaff
https://github.com/codezkk
https://github.com/Randgalt
https://github.com/He-Pin
https://github.com/Zizo-Vi
https://github.com/zhangjingcn
https://github.com/stantonk
https://github.com/arcaputo3
https://github.com/graemerocher
https://github.com/sdelamo
https://github.com/JunJieLiu51520
https://github.com/asaikali
https://github.com/sheegansrigm
https://github.com/leehaut
https://github.com/bedrin
https://github.com/uarlouski
https://github.com/vorburger
https://github.com/hbsjz-swl
https://github.com/mingo1996
https://github.com/codeboyzhou
https://github.com/ashakirin
https://github.com/jonathanhefner
https://github.com/rhtnr
https://github.com/sdeleuze
https://github.com/filiphr
https://github.com/scottslewis
https://github.com/rhishirajnema
link #115926 Upgrade MCP SDK fork to upstream v0.18.2 for streamable …https://github.com/GreywallSoftware/java-sdk/commit/7f007e3320002f99aa710a77aadbc6b59559c744
7f007e3https://github.com/GreywallSoftware/java-sdk/commit/7f007e3320002f99aa710a77aadbc6b59559c744
#7https://github.com/GreywallSoftware/java-sdk/pull/7
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F327
https://github.com/tzolov
tzolov https://github.com/tzolov
https://github.com/modelcontextprotocol/java-sdk/pull/327/files/1c1d80d5d4589cd3b97540d7dcf56631ded6c123
https://github.com/tzolov
tzolov https://github.com/tzolov
0.11.0 https://github.com/modelcontextprotocol/java-sdk/milestone/4
Freeform stopReasons in sampling responses are unsupported https://github.com/modelcontextprotocol/java-sdk/issues/328
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/327
https://github.com/LucaButBoring
https://github.com/tzolov
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.