René's URL Explorer Experiment


Title: fix(deployed-chat): allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat by waleedlatif1 · Pull Request #833 · simstudioai/sim · GitHub

Open Graph Title: fix(deployed-chat): allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat by waleedlatif1 · Pull Request #833 · simstudioai/sim

X Title: fix(deployed-chat): allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat by waleedlatif1 · Pull Request #833 · simstudioai/sim

Description: fix(deployed-chat): allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat fix(csp): runtime variable resolution for CSP cleanup Description Allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat Type of change Bug fix (non-breaking change which fixes an issue) How Has This Been Tested? Tested manually to ensure we can grab chat output for non-streaming blocks as well as streaming ones in the deployed chat and the chat panel. They behave the exact same. Also added tests for it. Checklist: My code follows the style guidelines of this project I have performed a self-review of my own code I have commented my code, particularly in hard-to-understand areas I have added tests that prove my fix is effective or that my feature works All tests pass locally and in CI (bun run test) My changes generate no new warnings Any dependent changes have been merged and published in downstream modules I have updated version numbers as needed (if needed) I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Security Considerations: My changes do not introduce any new security vulnerabilities I have considered the security implications of my changes

Open Graph Description: fix(deployed-chat): allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat fix(csp): runtime variable resolution for CSP cleanup Description Allow non-str...

X Description: fix(deployed-chat): allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat fix(csp): runtime variable resolution for CSP cleanup Description Allow non-str...

Opengraph URL: https://github.com/simstudioai/sim/pull/833

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7ccd606a-7369-aea4-00ac-4f9ff46518c8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB8A6:22CDF2:12251:1A5DE:6AFB2685
html-safe-noncee3d68454af650b66a2215fe7d754bf48c8d8de0286307bbf92371f3243ddb5ef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEE2OjIyQ0RGMjoxMjI1MToxQTVERTo2QUZCMjY4NSIsInZpc2l0b3JfaWQiOiI0NDM1ODM1NjA2NTU5MDQxMTU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac682454e08ae91d00c07d527682ff6caee32258db566f721be54f893126b79988
hovercard-subject-tagpull_request:2711195311
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/simstudioai/sim/pull/833/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altfix(deployed-chat): allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat fix(csp): runtime variable resolution for CSP cleanup Description Allow non-str...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef9219899e0d0ce0b87aeba2c640c955f83631457e5baff5df7a36ce599d2635b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
releasedd3b60f1fd9c5f10a3dcde41ae35682f53e85cee
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/833/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F833%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%2Fsimstudioai%2Fsim%2Fpull%2F833%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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/833/files
Reloadhttps://github.com/simstudioai/sim/pull/833/files
Reloadhttps://github.com/simstudioai/sim/pull/833/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/deployed-chathttps://github.com/simstudioai/sim/tree/fix/deployed-chat
Conversation 6 https://github.com/simstudioai/sim/pull/833
Commits 3 https://github.com/simstudioai/sim/pull/833/commits
Checks 0 https://github.com/simstudioai/sim/pull/833/checks
Files changed https://github.com/simstudioai/sim/pull/833/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/833/files
fix(deployed-chat): allow non-streaming responses in deployed chat, allow partial failure responses in deployed chat https://github.com/simstudioai/sim/pull/833/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/833/files
52c3535 fix(deployed-chat): allow non-streaming responses in deployed chat, a… Jul 31, 2025 https://github.com/simstudioai/sim/pull/833/commits/52c3535e9ab9368d463f328898178c1869f606b4
103c852 fix(csp): runtime variable resolution for CSP Jul 31, 2025 https://github.com/simstudioai/sim/pull/833/commits/103c852b177a54c20c391a8f0b06b20849730f94
71ab36d cleanup Jul 31, 2025 https://github.com/simstudioai/sim/pull/833/commits/71ab36dfc565f8ea425b5d304fdb5207fcfce014
Clear filters https://github.com/simstudioai/sim/pull/833/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/833/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/833/files
utils.test.ts https://github.com/simstudioai/sim/pull/833/files#diff-49d950d7ed200838e60fdcd84f0ae3b6a7e06d69830ba01f128b33857406cbd7
utils.ts https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
use-chat-streaming.ts https://github.com/simstudioai/sim/pull/833/files#diff-decdbf3564681df36149570a0f84179b37bc7bd083f8337aa5c4393a930c710a
use-workflow-execution.ts https://github.com/simstudioai/sim/pull/833/files#diff-26a2ffd51d627fc3dadc9abff80196d5f5f7421369413728dbcfe6f72c46e4e6
socket-context.tsx https://github.com/simstudioai/sim/pull/833/files#diff-ffb5cb5d872bdd9a8f81d1c7c47c01650fc874c440695df2b170a5ed06e4864e
index.test.ts https://github.com/simstudioai/sim/pull/833/files#diff-a4cc787a91c150f7fb654c716bbb72d4893225957323f8b0eeacce8d525307d0
index.ts https://github.com/simstudioai/sim/pull/833/files#diff-38afd0663e777bb502b40741888c1bf17dcb4607ee5c10dfb98d9df892ff9229
csp.ts https://github.com/simstudioai/sim/pull/833/files#diff-494a0f01952e08c34e957d945ebfc7770635b1108984ea4181ea7ea20feca5dd
middleware.ts https://github.com/simstudioai/sim/pull/833/files#diff-a3c0f5e6cd9367df522065a526528e4b325f7ab5d5dca7bfe6404a382f0588e4
next.config.ts https://github.com/simstudioai/sim/pull/833/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
apps/sim/app/api/chat/utils.test.tshttps://github.com/simstudioai/sim/pull/833/files#diff-49d950d7ed200838e60fdcd84f0ae3b6a7e06d69830ba01f128b33857406cbd7
View file https://github.com/simstudioai/sim/blob/71ab36dfc565f8ea425b5d304fdb5207fcfce014/apps/sim/app/api/chat/utils.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/833/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/833/files#diff-49d950d7ed200838e60fdcd84f0ae3b6a7e06d69830ba01f128b33857406cbd7
apps/sim/app/api/chat/utils.tshttps://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
View file https://github.com/simstudioai/sim/blob/71ab36dfc565f8ea425b5d304fdb5207fcfce014/apps/sim/app/api/chat/utils.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/833/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
Please reload this pagehttps://github.com/simstudioai/sim/pull/833/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/833/files
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
https://github.com/simstudioai/sim/pull/833/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
apps/sim/app/chat/[subdomain]/hooks/use-chat-streaming.tshttps://github.com/simstudioai/sim/pull/833/files#diff-decdbf3564681df36149570a0f84179b37bc7bd083f8337aa5c4393a930c710a
View file https://github.com/simstudioai/sim/blob/71ab36dfc565f8ea425b5d304fdb5207fcfce014/apps/sim/app/chat/%5Bsubdomain%5D/hooks/use-chat-streaming.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/833/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/833/files#diff-decdbf3564681df36149570a0f84179b37bc7bd083f8337aa5c4393a930c710a
https://github.com/simstudioai/sim/pull/833/files#diff-decdbf3564681df36149570a0f84179b37bc7bd083f8337aa5c4393a930c710a
https://github.com/simstudioai/sim/pull/833/files#diff-decdbf3564681df36149570a0f84179b37bc7bd083f8337aa5c4393a930c710a
https://github.com/simstudioai/sim/pull/833/files#diff-decdbf3564681df36149570a0f84179b37bc7bd083f8337aa5c4393a930c710a
https://github.com/simstudioai/sim/pull/833/files#diff-decdbf3564681df36149570a0f84179b37bc7bd083f8337aa5c4393a930c710a
https://github.com/simstudioai/sim/pull/833/files#diff-decdbf3564681df36149570a0f84179b37bc7bd083f8337aa5c4393a930c710a
Please reload this pagehttps://github.com/simstudioai/sim/pull/833/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.