| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:13d8f69c-809c-e14e-caee-be0cbcdb5b4f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B70E:260CF1:C60A9:11CB51:6A63ABE2 |
| html-safe-nonce | 96a5974d1778c1472451bac0a7f9a3d2d3f3f70944ea7e5825b98ed29c0d8d0f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzBFOjI2MENGMTpDNjBBOToxMUNCNTE6NkE2M0FCRTIiLCJ2aXNpdG9yX2lkIjoiNTQxMTMwNzIwODcyMjA2NjQwMiIsInJlZ2lvbl9lZGdlIjoid2VzdHVzMiIsInJlZ2lvbl9yZW5kZXIiOiJ3ZXN0dXMyIn0= |
| visitor-hmac | 6478417380cc5180a1eb1994301cd4d47db2fa7d31807a263ef536fe2578f8b1 |
| hovercard-subject-tag | pull_request:4032634228 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/5574/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/163def83a0298e8ee7661d009561bcc939e13b9a5206ea6c88f45895baa92157/simstudioai/sim/pull/5574 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/163def83a0298e8ee7661d009561bcc939e13b9a5206ea6c88f45895baa92157/simstudioai/sim/pull/5574 |
| og:image:alt | Summary
Add xAI (Grok) to the hosted-key mechanism, mirroring OpenAI/Anthropic/Z.ai exactly
XAI_API_KEY_1/2/3 env vars + getRotatingApiKey('xai') rotation pool
xai added to getHostedModels... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waleedlatif1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c69b5576237034cb6ab5477391df7811093a00579a751b33bed4b527d68aade6 |
| turbo-cache-control | no-cache |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5c31956f7a31ef033ef93ba813dcb6f7e8eb0972 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/5574#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5574 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fsimstudioai%2Fsim%2Fpull%2F5574 |
|
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=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/5574 |
| Reload | https://github.com/simstudioai/sim/pull/5574 |
| Reload | https://github.com/simstudioai/sim/pull/5574 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
|
simstudioai
| https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
|
Notifications
| https://github.com/login?return_to=%2Fsimstudioai%2Fsim |
|
Fork
3.7k
| https://github.com/login?return_to=%2Fsimstudioai%2Fsim |
|
Star
29.2k
| https://github.com/login?return_to=%2Fsimstudioai%2Fsim |
|
Code
| https://github.com/simstudioai/sim |
|
Issues
111
| https://github.com/simstudioai/sim/issues |
|
Pull requests
123
| https://github.com/simstudioai/sim/pulls |
|
Actions
| https://github.com/simstudioai/sim/actions |
|
Projects
| https://github.com/simstudioai/sim/projects |
|
Security and quality
0
| https://github.com/simstudioai/sim/security |
|
Insights
| https://github.com/simstudioai/sim/pulse |
|
Code
| https://github.com/simstudioai/sim |
|
Issues
| https://github.com/simstudioai/sim/issues |
|
Pull requests
| https://github.com/simstudioai/sim/pulls |
|
Actions
| https://github.com/simstudioai/sim/actions |
|
Projects
| https://github.com/simstudioai/sim/projects |
|
Security and quality
| https://github.com/simstudioai/sim/security |
|
Insights
| https://github.com/simstudioai/sim/pulse |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| worktree-feat+xai-hosted-keys | https://github.com/simstudioai/sim/tree/worktree-feat%2Bxai-hosted-keys |
| Conversation | https://github.com/simstudioai/sim/pull/5574 |
| Commits3 (3) | https://github.com/simstudioai/sim/pull/5574/commits |
| Checks | https://github.com/simstudioai/sim/pull/5574/checks |
| Files changed | https://github.com/simstudioai/sim/pull/5574/files |
| feat(providers): add xAI to hosted key rotation pool | https://github.com/simstudioai/sim/pull/5574#top |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| worktree-feat+xai-hosted-keys | https://github.com/simstudioai/sim/tree/worktree-feat%2Bxai-hosted-keys |
|
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| Jul 10, 2026 | https://github.com/simstudioai/sim/pull/5574#issue-4858931983 |
| Contributor License Agreement (CLA) | https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
|
| https://github.com/waleedlatif1 |
| feat(providers): add xAI to hosted key rotation pool | https://github.com/simstudioai/sim/pull/5574/commits/fd1870cbff3ff21f4e2011f12540ce017a8d6361 |
| fd1870c | https://github.com/simstudioai/sim/pull/5574/commits/fd1870cbff3ff21f4e2011f12540ce017a8d6361 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Jul 10, 2026 | https://github.com/simstudioai/sim/pull/5574#issuecomment-4939865894 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| docs | https://vercel.com/sim-studio/docs |
| https://camo.githubusercontent.com/6af980227b4c827b4b58e336e17b2523b7763da7d328256138bdddcbbe31ecbb/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667 |
| Skipped | https://vercel.com/sim-studio/docs/6QnGT98X5tttL2f3VoJAPHRoQgyh |
| https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=5574 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
| Jul 10, 2026 | https://github.com/simstudioai/sim/pull/5574#issuecomment-4939866223 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| Cursor Bugbot | https://cursor.com/bugbot |
| dfc0868 | https://github.com/simstudioai/sim/commit/dfc08689eb6e5d292a6c348dee2a555a95076bec |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jul 10, 2026 | https://github.com/simstudioai/sim/pull/5574#issuecomment-4939879609 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| "fix(byok): add xai settings UI row" | https://github.com/simstudioai/sim/commit/dfc08689eb6e5d292a6c348dee2a555a95076bec |
| Re-trigger Greptile | https://app.greptile.com/api/retrigger?id=43421378 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Jul 10, 2026
| https://github.com/simstudioai/sim/pull/5574#pullrequestreview-4675247941 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5574/files/fd1870cbff3ff21f4e2011f12540ce017a8d6361 |
| apps/sim/lib/api/contracts/byok-keys.ts | https://github.com/simstudioai/sim/pull/5574/files/fd1870cbff3ff21f4e2011f12540ce017a8d6361#diff-854487f923924fdef28627b30572d311684f281f4a6203ab4d5729a2a96343af |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| apps/sim/tools/types.ts | https://github.com/simstudioai/sim/pull/5574/files/fd1870cbff3ff21f4e2011f12540ce017a8d6361#diff-183540ce4359174673a854639c5032c16e740cb4951781bf2591b50f1cb68fac |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
|
| https://github.com/waleedlatif1 |
| fix(pi): include xai in Pi cloud-mode workspace BYOK read-back | https://github.com/simstudioai/sim/pull/5574/commits/91b4b1e5d70d071206531fc811f41ef851502484 |
| 91b4b1e | https://github.com/simstudioai/sim/pull/5574/commits/91b4b1e5d70d071206531fc811f41ef851502484 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-vmck14u8q-sim-studio.vercel.app |
| July 10, 2026 22:06 | https://github.com/simstudioai/sim/pull/5574#event-27835515555 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| Jul 10, 2026 | https://github.com/simstudioai/sim/pull/5574#issuecomment-4939911992 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| Jul 10, 2026 | https://github.com/simstudioai/sim/pull/5574#issuecomment-4939912135 |
| @cursor | https://github.com/cursor |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 10, 2026
| https://github.com/simstudioai/sim/pull/5574#pullrequestreview-4675279022 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5574/files/91b4b1e5d70d071206531fc811f41ef851502484 |
| apps/sim/providers/models.ts | https://github.com/simstudioai/sim/pull/5574/files/91b4b1e5d70d071206531fc811f41ef851502484#diff-352174d7cadfdcaf759836ee5b99d67c4cc92aa73065e6983e547fe5c55299b3 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
|
| https://github.com/waleedlatif1 |
| fix(byok): add xai settings UI row | https://github.com/simstudioai/sim/pull/5574/commits/dfc08689eb6e5d292a6c348dee2a555a95076bec |
| dfc0868 | https://github.com/simstudioai/sim/pull/5574/commits/dfc08689eb6e5d292a6c348dee2a555a95076bec |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-h71t5c53a-sim-studio.vercel.app |
| July 10, 2026 22:16 | https://github.com/simstudioai/sim/pull/5574#event-27835780847 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| Jul 10, 2026 | https://github.com/simstudioai/sim/pull/5574#issuecomment-4939967284 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| Jul 10, 2026 | https://github.com/simstudioai/sim/pull/5574#issuecomment-4939967392 |
| @cursor | https://github.com/cursor |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 10, 2026
| https://github.com/simstudioai/sim/pull/5574#pullrequestreview-4675316316 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5574/files/dfc08689eb6e5d292a6c348dee2a555a95076bec |
| cursor | https://github.com/apps/cursor |
| https://github.com/simstudioai/sim/pull/5574#pullrequestreview-4675316316 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Cursor Bugbot | https://cursor.com/bugbot |
| dfc0868 | https://github.com/simstudioai/sim/commit/dfc08689eb6e5d292a6c348dee2a555a95076bec |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| 7c2de1d | https://github.com/simstudioai/sim/commit/7c2de1d426150cb150df8ef1a340d19cdc3bd906 |
| Jul 11, 2026 | https://github.com/simstudioai/sim/pull/5574#event-27858705711 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| July 11, 2026 18:23 | https://github.com/simstudioai/sim/pull/5574#event-27858706515 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
|
Jul 12, 2026
| https://github.com/simstudioai/sim/pull/5574#ref-pullrequest-4864838146 |
|
v0.7.30: md editor improvements, og image updates, spacexai hosted keys, cmd-k speedups, pagespeed optimizations, security hardening
#5611
| https://github.com/simstudioai/sim/pull/5611 |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5574 |
|
| https://github.com/apps/greptile-apps |
|
greptile-apps[bot]
| https://github.com/apps/greptile-apps |
|
| https://github.com/simstudioai/sim/pull/5574/files/fd1870cbff3ff21f4e2011f12540ce017a8d6361 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/simstudioai/sim/pull/5574/files/dfc08689eb6e5d292a6c348dee2a555a95076bec |
| Please reload this page | https://github.com/simstudioai/sim/pull/5574 |
|
| https://github.com/waleedlatif1 |
|
| https://github.com/TheodoreSpeaks |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |