René's URL Explorer Experiment


Title: fix: show each OpenAI reasoning summary title on its own line by mafredri · Pull Request #31349 · coder/coder · GitHub

Open Graph Title: fix: show each OpenAI reasoning summary title on its own line by mafredri · Pull Request #31349 · coder/coder

X Title: fix: show each OpenAI reasoning summary title on its own line by mafredri · Pull Request #31349 · coder/coder

Description: OpenAI reasoning summaries stream as parts that each open with a bold title. Fantasy sent a single "\n" before each part, which Markdown renders as a space, so the chat UI showed every title after the first at the end of the previous paragraph. #30551 stopped the UI from dropping that "\n", but one newline is still not a paragraph break. This moves the fantasy pin to coder/fantasy#67, which sends "\n\n" before every summary part. The first part gets one too: the UI joins adjacent reasoning items into one thinking block, including across web_search calls, and without it the next item's title would follow the previous sentence with no space. Messages saved before this change keep the single newline. The go.mod fork notes gain item 16, which points at the upstream PR, charmbracelet/fantasy#436. Dogfood data behind the leading blank line 7 days of dogfood chat_messages for OpenAI Responses models (openai, and Bedrock openai.*): In every completed reasoning part, the stored text is exactly "\n" + summary[0] + "\n" + summary[1] ..., so fantasy's separator is the only one. All 4,044 summary parts start with **Title**\n\n. No part starts or ends with whitespace. 884 summary parts follow another part of the same item. A blank line between parts fixes these. 355 boundaries in 262 of 2,802 messages are between reasoning items that the UI joins into one block. A blank line only between parts of one item would have shown these as sentence.**Title**. Interrupted turns store each delta as its own part (2 OpenAI messages in 45 days), so they show whatever fantasy streams. Verification go build ./... and make pre-commit pass. go test passes on every package that imports fantasy (coderd/x/chatd/..., coderd/database/db2sdk, coderd/mcp), and go test ./coderd -run 'TestChat|TestExpChat|TestMCP|TestAIBridge' passes. coder/fantasy#67 has Stream and Generate tests that fail with the old separator. No coder test covers this: chattest's Responses mock streams one summary part per reasoning item. Not checked against live OpenAI or in the UI. 🤖 This PR was created with the help of Coder Agents, and will be reviewed by a human. 🏂🏻

Open Graph Description: OpenAI reasoning summaries stream as parts that each open with a bold title. Fantasy sent a single "\n" before each part, which Markdown renders as a space, so the chat UI showed every ti...

X Description: OpenAI reasoning summaries stream as parts that each open with a bold title. Fantasy sent a single "\n" before each part, which Markdown renders as a space, so the chat UI showed ...

Opengraph URL: https://github.com/coder/coder/pull/31349

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:efdb6a1e-586a-ae15-2819-f5bd6069e3f7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA25C:4D9F2:C8C39A:10AFF38:6B01CA8E
html-safe-nonce811360ce200181a38882ade3d40d95893c6b0b9f2f2c6b0ffbae9d7af64ef02e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjVDOjREOUYyOkM4QzM5QToxMEFGRjM4OjZCMDFDQThFIiwidmlzaXRvcl9pZCI6IjQyNTA4NTg3NzgyMzQzMDkyNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacae2f76e795de500ff1e0b261b5969541caff6fe3cf6dfb6e57d24317de5bf369
hovercard-subject-tagpull_request:5034974189
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/coder/coder/pull/31349/files
twitter:imagehttps://avatars.githubusercontent.com/u/147409?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/147409?s=400&v=4
og:image:altOpenAI reasoning summaries stream as parts that each open with a bold title. Fantasy sent a single "\n" before each part, which Markdown renders as a space, so the chat UI showed every ti...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/coder/coder/pull/31349/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31349%2Ffiles
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%2Fcoder%2Fpull%2F31349%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/31349/files
Reloadhttps://github.com/coder/coder/pull/31349/files
Reloadhttps://github.com/coder/coder/pull/31349/files
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/fantasy-reasoning-summary-paragraphshttps://github.com/coder/coder/tree/mafredri/fantasy-reasoning-summary-paragraphs
Conversation 0 https://github.com/coder/coder/pull/31349
Commits 2 https://github.com/coder/coder/pull/31349/commits
Checks 39 https://github.com/coder/coder/pull/31349/checks
Files changed https://github.com/coder/coder/pull/31349/files
Please reload this pagehttps://github.com/coder/coder/pull/31349/files
fix: show each OpenAI reasoning summary title on its own line https://github.com/coder/coder/pull/31349/files#top
Show all changes 2 commits https://github.com/coder/coder/pull/31349/files
02eb3e0 fix: show each OpenAI reasoning summary title on its own line mafredri Oct 27, 2026 https://github.com/coder/coder/pull/31349/commits/02eb3e0cd7fc975967a5d162b1b17b6428e4bb03
bbe0c8c chore: note upstream PR for fantasy reasoning summary fix mafredri Oct 27, 2026 https://github.com/coder/coder/pull/31349/commits/bbe0c8c2de0be60fbe12a5f3779f69b3dba03f55
Clear filters https://github.com/coder/coder/pull/31349/files
Please reload this pagehttps://github.com/coder/coder/pull/31349/files
Please reload this pagehttps://github.com/coder/coder/pull/31349/files
go.mod https://github.com/coder/coder/pull/31349/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
go.sum https://github.com/coder/coder/pull/31349/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
go.modhttps://github.com/coder/coder/pull/31349/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
View file https://github.com/coder/coder/blob/bbe0c8c2de0be60fbe12a5f3779f69b3dba03f55/go.mod
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/31349/{{ revealButtonHref }}
https://github.com/coder/coder/pull/31349/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/coder/coder/pull/31349/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
go.sumhttps://github.com/coder/coder/pull/31349/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
View file https://github.com/coder/coder/blob/bbe0c8c2de0be60fbe12a5f3779f69b3dba03f55/go.sum
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/31349/{{ revealButtonHref }}
https://github.com/coder/coder/pull/31349/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
https://github.com/coder/coder/pull/31349/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
Please reload this pagehttps://github.com/coder/coder/pull/31349/files
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.