René's URL Explorer Experiment


Title: feat(providers/anthropic): surface refusal stop_reason as content-filter by jscottmiller · Pull Request #41 · coder/fantasy · GitHub

Open Graph Title: feat(providers/anthropic): surface refusal stop_reason as content-filter by jscottmiller · Pull Request #41 · coder/fantasy

X Title: feat(providers/anthropic): surface refusal stop_reason as content-filter by jscottmiller · Pull Request #41 · coder/fantasy

Description: Build AI agents with Go. Multiple providers, multiple models, one API 🧙 - feat(providers/anthropic): surface refusal stop_reason as content-filter by jscottmiller · Pull Request #41 · coder/fantasy

Open Graph Description: Summary Map Anthropic's refusal stop reason to a content-filter finish reason and preserve the block details, so downstream callers can tell a safety block apart from a normal stop and surface ...

X Description: Summary Map Anthropic's refusal stop reason to a content-filter finish reason and preserve the block details, so downstream callers can tell a safety block apart from a normal stop and surf...

Opengraph URL: https://github.com/coder/fantasy/pull/41

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f0ae158f-502a-2bd2-8b3b-ce6f94544221
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB120:19F84C:271FD80:31BE500:6B018161
html-safe-noncee3241e99a620a789e6233087b6585d856aafab677ea8ebb4896240f38458c5de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTIwOjE5Rjg0QzoyNzFGRDgwOjMxQkU1MDA6NkIwMTgxNjEiLCJ2aXNpdG9yX2lkIjoiNjY5NzUwNjQ5NjMzNjQ2MjE3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacee9cea1728329601f0a0930d2f762d7ab17247e83bf7bdb5600fc918e7110b8c
hovercard-subject-tagpull_request:3849879804
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/coder/fantasy/41/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f2c9e5f477ef83bbfa424338175b7bc9e19a2c9183eb4aa421cad7a4aaf7d3ac/coder/fantasy/pull/41
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f2c9e5f477ef83bbfa424338175b7bc9e19a2c9183eb4aa421cad7a4aaf7d3ac/coder/fantasy/pull/41
og:image:altSummary Map Anthropic's refusal stop reason to a content-filter finish reason and preserve the block details, so downstream callers can tell a safety block apart from a normal stop and surface ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejscottmiller
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/fantasy git https://github.com/coder/fantasy.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id1164768570
octolytics-dimension-repository_nwocoder/fantasy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id1038596335
octolytics-dimension-repository_parent_nwocharmbracelet/fantasy
octolytics-dimension-repository_network_root_id1038596335
octolytics-dimension-repository_network_root_nwocharmbracelet/fantasy
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/fantasy/pull/41#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Ffantasy%2Fpull%2F41
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Ffantasy%2Fpull%2F41
Sign uphttps://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=coder%2Ffantasy
Reloadhttps://github.com/coder/fantasy/pull/41
Reloadhttps://github.com/coder/fantasy/pull/41
Reloadhttps://github.com/coder/fantasy/pull/41
coderhttps://github.com/coder
fantasyhttps://github.com/coder/fantasy
Codehttps://github.com/coder/fantasy
Pull requests21 (21)https://github.com/coder/fantasy/pulls
Actionshttps://github.com/coder/fantasy/actions
Projectshttps://github.com/coder/fantasy/projects
Security and qualityhttps://github.com/coder/fantasy/security
Insightshttps://github.com/coder/fantasy/insights
https://github.com/coder/fantasy
ethanndicksonhttps://github.com/ethanndickson
coder_2_33https://github.com/coder/fantasy/tree/coder_2_33
scott/anthropic-refusal-content-filterhttps://github.com/coder/fantasy/tree/scott/anthropic-refusal-content-filter
Conversationhttps://github.com/coder/fantasy/pull/41
Commits1 (1)https://github.com/coder/fantasy/pull/41/commits
Checkshttps://github.com/coder/fantasy/pull/41/checks
Files changedhttps://github.com/coder/fantasy/pull/41/files
feat(providers/anthropic): surface refusal stop_reason as content-filterhttps://github.com/coder/fantasy/pull/41#top
ethanndicksonhttps://github.com/ethanndickson
coder_2_33https://github.com/coder/fantasy/tree/coder_2_33
scott/anthropic-refusal-content-filterhttps://github.com/coder/fantasy/tree/scott/anthropic-refusal-content-filter
https://github.com/jscottmiller
jscottmillerhttps://github.com/jscottmiller
Jun 11, 2026https://github.com/coder/fantasy/pull/41#issue-4643590561
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
provider: anthropic claude https://github.com/coder/fantasy/issues?q=state%3Aopen%20label%3A%22provider%3A%20anthropic%20claude%22
Jun 11, 2026https://github.com/coder/fantasy/pull/41#event-26643051317
https://github.com/jscottmiller
jscottmillerhttps://github.com/jscottmiller
Jun 11, 2026 https://github.com/coder/fantasy/pull/41#ref-pullrequest-4643592956
feat: surface model content-filter refusals as a blocked chat error coder/coder#26294 https://github.com/coder/coder/pull/26294
https://github.com/jscottmiller
jscottmillerhttps://github.com/jscottmiller
June 11, 2026 19:36https://github.com/coder/fantasy/pull/41#event-26643244754
https://github.com/jscottmiller
https://github.com/apps/coder
jscottmillerhttps://github.com/jscottmiller
Jun 11, 2026https://github.com/coder/fantasy/pull/41#issuecomment-4684522102
@jscottmillerhttps://github.com/jscottmiller
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/jscottmiller
https://github.com/apps/coder
jscottmillerhttps://github.com/jscottmiller
Jun 11, 2026https://github.com/coder/fantasy/pull/41#issuecomment-4684918275
#40https://github.com/coder/fantasy/pull/40
chore: merge main into coder_2_33 #40https://github.com/coder/fantasy/pull/40
fix(providers/anthropic): send thinking display #39https://github.com/coder/fantasy/pull/39
chore: merge main into coder_2_33 #40https://github.com/coder/fantasy/pull/40
@jscottmillerhttps://github.com/jscottmiller
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/jscottmiller
https://github.com/apps/coder
jscottmillerhttps://github.com/jscottmiller
Jun 11, 2026https://github.com/coder/fantasy/pull/41#issuecomment-4685217052
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/ethanndickson
feat(providers/anthropic): surface refusal stop_reason as content-filterhttps://github.com/coder/fantasy/pull/41/commits/798e38d74a3cd24f2ee1ca28f446e4b492c815fb
798e38dhttps://github.com/coder/fantasy/pull/41/commits/798e38d74a3cd24f2ee1ca28f446e4b492c815fb
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
force-pushedhttps://github.com/coder/fantasy/compare/654801e0804b91bdbb3c9dedc4bd270739b0c2b4..798e38d74a3cd24f2ee1ca28f446e4b492c815fb
654801ehttps://github.com/coder/fantasy/commit/654801e0804b91bdbb3c9dedc4bd270739b0c2b4
798e38dhttps://github.com/coder/fantasy/commit/798e38d74a3cd24f2ee1ca28f446e4b492c815fb
Compare https://github.com/coder/fantasy/compare/654801e0804b91bdbb3c9dedc4bd270739b0c2b4..798e38d74a3cd24f2ee1ca28f446e4b492c815fb
July 9, 2026 06:16https://github.com/coder/fantasy/pull/41#event-27750285215
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Jul 9, 2026https://github.com/coder/fantasy/pull/41#issuecomment-4922125235
CODAGT-611https://linear.app/codercom/issue/CODAGT-611
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
July 9, 2026 06:17https://github.com/coder/fantasy/pull/41#event-27750303970
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
Jul 9, 2026https://github.com/coder/fantasy/pull/41#issuecomment-4922130226
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 9, 2026https://github.com/coder/fantasy/pull/41#issuecomment-4922170071
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
4765514https://github.com/coder/fantasy/commit/47655149a9cc120b9f57e22e67769e366ccc1c23
Jul 9, 2026https://github.com/coder/fantasy/pull/41#event-27750926484
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
Jul 9, 2026 https://github.com/coder/fantasy/pull/41#ref-pullrequest-4844526041
feat: surface model content-filter refusals as a blocked chat error coder/coder#27118 https://github.com/coder/coder/pull/27118
ethanndicksonhttps://github.com/ethanndickson
Jul 9, 2026 https://github.com/coder/fantasy/pull/41#ref-commit-81beeb8
https://github.com/ethanndickson
feat: surface model content-filter refusals as a blocked chat errorhttps://github.com/coder/coder/commit/81beeb835e3ba0253e2d9abe22ac5ecd79c7b25d
81beeb8https://github.com/coder/coder/commit/81beeb835e3ba0253e2d9abe22ac5ecd79c7b25d
coder/fantasy#41https://github.com/coder/fantasy/pull/41
ethanndicksonhttps://github.com/ethanndickson
Jul 9, 2026 https://github.com/coder/fantasy/pull/41#ref-commit-6b41de7
https://github.com/ethanndickson
feat: surface model content-filter refusals as a blocked chat errorhttps://github.com/coder/coder/commit/6b41de7a2d7092ee097c94951f2faf90688b0942
6b41de7https://github.com/coder/coder/commit/6b41de7a2d7092ee097c94951f2faf90688b0942
coder/fantasy#41https://github.com/coder/fantasy/pull/41
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 9, 2026 https://github.com/coder/fantasy/pull/41#ref-pullrequest-4848731776
chore: bump coder/fantasy for gpt-5.6 Responses routing coder/coder#27132 https://github.com/coder/coder/pull/27132
ibetitsmikehttps://github.com/ibetitsmike
Jul 9, 2026 https://github.com/coder/fantasy/pull/41#ref-commit-f84801e
https://github.com/ibetitsmike
chore: bump coder/fantasy for gpt-5.6 Responses routing (https://github.com/coder/coder/commit/f84801eecf0473b6d94ed1a235cbce5bc98a5354
#27132https://github.com/coder/coder/pull/27132
)https://github.com/coder/coder/commit/f84801eecf0473b6d94ed1a235cbce5bc98a5354
f84801ehttps://github.com/coder/coder/commit/f84801eecf0473b6d94ed1a235cbce5bc98a5354
coder/fantasy#46https://github.com/coder/fantasy/pull/46
coder/fantasy#41https://github.com/coder/fantasy/pull/41
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 9, 2026 https://github.com/coder/fantasy/pull/41#ref-pullrequest-4848983408
fix: bump coder/fantasy for gpt-5.6 Responses routing (#27132) coder/coder#27134 https://github.com/coder/coder/pull/27134
mtojekhttps://github.com/mtojek
Jul 13, 2026 https://github.com/coder/fantasy/pull/41#ref-commit-d331a10
https://github.com/ibetitsmike
fix: bump coder/fantasy for gpt-5.6 Responses routing (https://github.com/coder/coder/commit/d331a101b802d53e9307fec67df28beb4bc1fba3
#27132https://github.com/coder/coder/pull/27132
) (https://github.com/coder/coder/commit/d331a101b802d53e9307fec67df28beb4bc1fba3
#27134https://github.com/coder/coder/pull/27134
)https://github.com/coder/coder/commit/d331a101b802d53e9307fec67df28beb4bc1fba3
d331a10https://github.com/coder/coder/commit/d331a101b802d53e9307fec67df28beb4bc1fba3
#27132https://github.com/coder/coder/pull/27132
coder/fantasy#46https://github.com/coder/fantasy/pull/46
coder/fantasy#41https://github.com/coder/fantasy/pull/41
#46https://github.com/coder/coder/pull/46
#27132https://github.com/coder/coder/pull/27132
ethanndicksonhttps://github.com/ethanndickson
Jul 13, 2026 https://github.com/coder/fantasy/pull/41#ref-commit-01cc89f
https://github.com/ethanndickson
feat: surface model content-filter refusals as a blocked chat errorhttps://github.com/coder/coder/commit/01cc89f060fc8635f40a5d488f4ced466f4b4f51
01cc89fhttps://github.com/coder/coder/commit/01cc89f060fc8635f40a5d488f4ced466f4b4f51
coder/fantasy#41https://github.com/coder/fantasy/pull/41
ethanndicksonhttps://github.com/ethanndickson
Jul 14, 2026 https://github.com/coder/fantasy/pull/41#ref-commit-69b79f3
https://github.com/ethanndickson
feat: surface model content-filter refusals as a blocked chat errorhttps://github.com/coder/coder/commit/69b79f3d868ec381828a4441261e3644bf27e159
69b79f3https://github.com/coder/coder/commit/69b79f3d868ec381828a4441261e3644bf27e159
coder/fantasy#41https://github.com/coder/fantasy/pull/41
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Aug 10, 2026 https://github.com/coder/fantasy/pull/41#ref-pullrequest-5109283119
chore: sync upstream fantasy v0.40.0 into coder_2_33 #51 https://github.com/coder/fantasy/pull/51
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
Oct 26, 2026 https://github.com/coder/fantasy/pull/41#ref-pullrequest-6031885919
chore: sync upstream fantasy v0.45.5 into coder_2_33 #72 https://github.com/coder/fantasy/pull/72
https://github.co/hiddenchars
https://github.com/coder/fantasy/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%2Fcoder%2Ffantasy%2Fpull%2F41
Please reload this pagehttps://github.com/coder/fantasy/pull/41
provider: anthropic claude https://github.com/coder/fantasy/issues?q=state%3Aopen%20label%3A%22provider%3A%20anthropic%20claude%22
Please reload this pagehttps://github.com/coder/fantasy/pull/41
https://github.com/jscottmiller
https://github.com/ethanndickson
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.