René's URL Explorer Experiment


Title: fix: close stream after upstream ends to prevent client hang by octo-patch · Pull Request #186 · sqlchat/sqlchat · GitHub

Open Graph Title: fix: close stream after upstream ends to prevent client hang by octo-patch · Pull Request #186 · sqlchat/sqlchat

X Title: fix: close stream after upstream ends to prevent client hang by octo-patch · Pull Request #186 · sqlchat/sqlchat

Description: Chat-based SQL Client and Editor for the next decade - fix: close stream after upstream ends to prevent client hang by octo-patch · Pull Request #186 · sqlchat/sqlchat

Open Graph Description: Fixes #176 Problem When an LLM provider (e.g. Ollama) does not send a data: [DONE] sentinel at the end of the SSE stream, the ReadableStream created in src/pages/api/chat.ts was never explicitly cl...

X Description: Fixes #176 Problem When an LLM provider (e.g. Ollama) does not send a data: [DONE] sentinel at the end of the SSE stream, the ReadableStream created in src/pages/api/chat.ts was never explicitly cl...

Opengraph URL: https://github.com/sqlchat/sqlchat/pull/186

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:697e8169-055e-8e6e-37d7-b8c6d5c3729f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id90B8:40075:654244:9117C5:6A6229F1
html-safe-nonce839669eb4532c62b19237faddee722262729885f273f6229ab924bfad216e8e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEI4OjQwMDc1OjY1NDI0NDo5MTE3QzU6NkE2MjI5RjEiLCJ2aXNpdG9yX2lkIjoiODI2NDgyMTY5NzA3OTgxNDY0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7c44abdeedae4b146661c8f12a5242386de3ea85a2c70184d91452bf9e60fc3f
hovercard-subject-tagpull_request:3584858401
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/sqlchat/sqlchat/186/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8c88ce7cf8cf0c12ae906509a311d9c2ca320085ce8d87dba2fc7a0ed36e9ff8/sqlchat/sqlchat/pull/186
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8c88ce7cf8cf0c12ae906509a311d9c2ca320085ce8d87dba2fc7a0ed36e9ff8/sqlchat/sqlchat/pull/186
og:image:altFixes #176 Problem When an LLM provider (e.g. Ollama) does not send a data: [DONE] sentinel at the end of the SSE stream, the ReadableStream created in src/pages/api/chat.ts was never explicitly cl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameocto-patch
hostnamegithub.com
expected-hostnamegithub.com
None0e882415c7b47986d65f899389c870b31642bb1c6f36516eb042618596c60e62
turbo-cache-controlno-cache
go-importgithub.com/sqlchat/sqlchat git https://github.com/sqlchat/sqlchat.git
octolytics-dimension-user_id128299021
octolytics-dimension-user_loginsqlchat
octolytics-dimension-repository_id614656648
octolytics-dimension-repository_nwosqlchat/sqlchat
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id614656648
octolytics-dimension-repository_network_root_nwosqlchat/sqlchat
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
release230e2af5fc0870303dd4569d72d2bb393ed52c52
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://Github.com/sqlchat/sqlchat/pull/186#start-of-content
https://Github.com/
Sign in https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlchat%2Fsqlchat%2Fpull%2F186
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fsqlchat%2Fsqlchat%2Fpull%2F186
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=sqlchat%2Fsqlchat
Reloadhttps://Github.com/sqlchat/sqlchat/pull/186
Reloadhttps://Github.com/sqlchat/sqlchat/pull/186
Reloadhttps://Github.com/sqlchat/sqlchat/pull/186
Please reload this pagehttps://Github.com/sqlchat/sqlchat/pull/186
sqlchat https://Github.com/sqlchat
sqlchathttps://Github.com/sqlchat/sqlchat
Notifications https://Github.com/login?return_to=%2Fsqlchat%2Fsqlchat
Fork 504 https://Github.com/login?return_to=%2Fsqlchat%2Fsqlchat
Star 5.8k https://Github.com/login?return_to=%2Fsqlchat%2Fsqlchat
Code https://Github.com/sqlchat/sqlchat
Issues 22 https://Github.com/sqlchat/sqlchat/issues
Pull requests 2 https://Github.com/sqlchat/sqlchat/pulls
Actions https://Github.com/sqlchat/sqlchat/actions
Security and quality 0 https://Github.com/sqlchat/sqlchat/security
Insights https://Github.com/sqlchat/sqlchat/pulse
Code https://Github.com/sqlchat/sqlchat
Issues https://Github.com/sqlchat/sqlchat/issues
Pull requests https://Github.com/sqlchat/sqlchat/pulls
Actions https://Github.com/sqlchat/sqlchat/actions
Security and quality https://Github.com/sqlchat/sqlchat/security
Insights https://Github.com/sqlchat/sqlchat/pulse
octo-patchhttps://Github.com/octo-patch
sqlchat:mainhttps://Github.com/sqlchat/sqlchat/tree/main
octo-patch:fix/issue-176-stream-not-closinghttps://Github.com/octo-patch/sqlchat/tree/fix/issue-176-stream-not-closing
Conversationhttps://Github.com/sqlchat/sqlchat/pull/186
Commits1 (1)https://Github.com/sqlchat/sqlchat/pull/186/commits
Checkshttps://Github.com/sqlchat/sqlchat/pull/186/checks
Files changedhttps://Github.com/sqlchat/sqlchat/pull/186/files
fix: close stream after upstream ends to prevent client hanghttps://Github.com/sqlchat/sqlchat/pull/186#top
octo-patchhttps://Github.com/octo-patch
sqlchat:mainhttps://Github.com/sqlchat/sqlchat/tree/main
octo-patch:fix/issue-176-stream-not-closinghttps://Github.com/octo-patch/sqlchat/tree/fix/issue-176-stream-not-closing
https://Github.com/octo-patch
octo-patchhttps://Github.com/octo-patch
Apr 26, 2026https://Github.com/sqlchat/sqlchat/pull/186#issue-4329861854
#176https://github.com/sqlchat/sqlchat/issues/176
Please reload this pagehttps://Github.com/sqlchat/sqlchat/pull/186
https://Github.com/octo-patch
fix: close stream after upstream ends to prevent client hang (https://Github.com/sqlchat/sqlchat/pull/186/commits/85d1f71b0f29563abd7657869a7be5a421e03630
fixeshttps://Github.com/sqlchat/sqlchat/pull/186/commits/85d1f71b0f29563abd7657869a7be5a421e03630
s…https://github.com/sqlchat/sqlchat/issues/176
85d1f71https://Github.com/sqlchat/sqlchat/pull/186/commits/85d1f71b0f29563abd7657869a7be5a421e03630
…qlchat#176https://github.com/sqlchat/sqlchat/issues/176
https://Github.com/octo-patch
octo-patchhttps://Github.com/octo-patch
boojackhttps://Github.com/boojack
tianzhouhttps://Github.com/tianzhou
code ownershttps://Github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/CODEOWNERS#L2
April 26, 2026 02:44https://Github.com/sqlchat/sqlchat/pull/186#event-24874607235
https://Github.com/tianzhou
tianzhouhttps://Github.com/tianzhou
Copilothttps://Github.com/apps/copilot-pull-request-reviewer
April 26, 2026 10:01https://Github.com/sqlchat/sqlchat/pull/186#event-24878061296
started reviewinghttps://github.com/sqlchat/sqlchat/sessions/82979ec6-35d8-48e5-b4ea-ece10a28c1b9
tianzhouhttps://Github.com/tianzhou
April 26, 2026 10:01https://Github.com/sqlchat/sqlchat/pull/186#event-24878065124
View session https://github.com/sqlchat/sqlchat/sessions/82979ec6-35d8-48e5-b4ea-ece10a28c1b9
https://Github.com/apps/copilot-pull-request-reviewer
Copilothttps://Github.com/apps/copilot-pull-request-reviewer
Apr 26, 2026 https://Github.com/sqlchat/sqlchat/pull/186#pullrequestreview-4176791814
View reviewed changes https://Github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630
Copilothttps://Github.com/apps/copilot-pull-request-reviewer
https://Github.com/sqlchat/sqlchat/pull/186#pullrequestreview-4176791814
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://Github.com/sqlchat/sqlchat/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://Github.com/sqlchat/sqlchat/pull/186
src/pages/api/chat.tshttps://Github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630#diff-77e8eddb3460b35c44e1622cb72c6d0ec0096f3aaced92baec30f1d4a931aa01
Copilothttps://Github.com/apps/copilot-pull-request-reviewer
Apr 26, 2026https://Github.com/sqlchat/sqlchat/pull/186#discussion_r3143313680
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://Github.com/sqlchat/sqlchat/pull/186
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
src/components/ConversationView/index.tsxhttps://Github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630#diff-739903acacb476c7a32eb37f6e8dc084cd621d1497fd75f1a016452f1dbf4956
Copilothttps://Github.com/apps/copilot-pull-request-reviewer
Apr 26, 2026https://Github.com/sqlchat/sqlchat/pull/186#discussion_r3143313685
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://Github.com/sqlchat/sqlchat/pull/186
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
src/components/ConversationView/index.tsxhttps://Github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630#diff-739903acacb476c7a32eb37f6e8dc084cd621d1497fd75f1a016452f1dbf4956
Copilothttps://Github.com/apps/copilot-pull-request-reviewer
Apr 26, 2026https://Github.com/sqlchat/sqlchat/pull/186#discussion_r3143313687
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://Github.com/sqlchat/sqlchat/pull/186
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://github.co/hiddenchars
https://Github.com/sqlchat/sqlchat/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%2Fsqlchat%2Fsqlchat%2Fpull%2F186
Copilot code review https://Github.com/apps/copilot-pull-request-reviewer
Copilot https://Github.com/apps/copilot-pull-request-reviewer
https://Github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630
https://Github.com/tianzhou
tianzhou https://Github.com/tianzhou
https://Github.com/boojack
boojack https://Github.com/boojack
sendMessageToCurrentConversation Fetch Function Not Returning Response https://github.com/sqlchat/sqlchat/issues/176
Please reload this pagehttps://Github.com/sqlchat/sqlchat/pull/186
https://Github.com/octo-patch
https://Github.com/apps/copilot-pull-request-reviewer
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.