| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1b7c877e-93fd-ebab-e8fc-7ed302d41511 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE68:25A7D0:25BB15:35A5B2:6AFB306D |
| html-safe-nonce | 81abc3faf9024368881e9e2c1ab209386533c8d35befaa50907b837a0d5382cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTY4OjI1QTdEMDoyNUJCMTU6MzVBNUIyOjZBRkIzMDZEIiwidmlzaXRvcl9pZCI6Ijg3NjU5NjgwMDMxMjk2MTg1NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3d0ec4af28f4055af7f38b65d202e9e2ab1717a10c5db83f35eb26e3c756f6b9 |
| hovercard-subject-tag | pull_request:4551298214 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7888/files |
| twitter:image | https://avatars.githubusercontent.com/u/17950982?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/17950982?s=400&v=4 |
| og:image:alt | Summary
Bound document-scoped vector probes with an indexed lookup and disable JIT inside deadline-bound search transactions.
Admit Assistant spending once per logical turn. Continuations recheck ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | efe184de15c1d8c1107a340cfc27bf7187b458dc07687ee1fa51f035148fb3d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f567cf3af46b50a3211fb5dab569a9d6a7b58025 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/7888/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7888%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7888%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/7888/files |
| Reload | https://github.com/simstudioai/sim/pull/7888/files |
| Reload | https://github.com/simstudioai/sim/pull/7888/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests198 (198) | 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| icecrasher321 | https://github.com/icecrasher321 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| codex/fix-search-and-usage-query-cost | https://github.com/simstudioai/sim/tree/codex/fix-search-and-usage-query-cost |
|
Conversation
22
| https://github.com/simstudioai/sim/pull/7888 |
|
Commits
7
| https://github.com/simstudioai/sim/pull/7888/commits |
|
Checks
32
| https://github.com/simstudioai/sim/pull/7888/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/7888/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7888/files |
|
fix(search): bound retrieval and avoid repeated turn admission
| https://github.com/simstudioai/sim/pull/7888/files#top |
|
Show all changes
7 commits
| https://github.com/simstudioai/sim/pull/7888/files |
|
3f1c026
fix(search): bound retrieval and billing query cost
Sep 16, 2026
| https://github.com/simstudioai/sim/pull/7888/commits/3f1c02608b4122ad585294771a743912df6a17e0 |
|
58bec9a
refactor(billing): remove unneeded synchronous cost projection
Sep 16, 2026
| https://github.com/simstudioai/sim/pull/7888/commits/58bec9acfbfd1387a77102c9114cd94d73e86327 |
|
8517ff9
Merge remote-tracking branch 'origin/staging' into codex/fix-search-a…
Sep 16, 2026
| https://github.com/simstudioai/sim/pull/7888/commits/8517ff9cf2a1891783b9d5172c314f90f5f03f85 |
|
90e6d14
Merge remote-tracking branch 'origin/staging' into codex/fix-search-a…
Sep 16, 2026
| https://github.com/simstudioai/sim/pull/7888/commits/90e6d148d42c72e75b1480707a20a079d4a395d9 |
|
cac3963
fix(billing): authorize continuations without repeating spend admission
Sep 16, 2026
| https://github.com/simstudioai/sim/pull/7888/commits/cac396392fc1ed6e3bc1d3e6ea2c35847a749a77 |
|
17a22b6
Merge remote-tracking branch 'origin/staging' into codex/fix-search-a…
Sep 16, 2026
| https://github.com/simstudioai/sim/pull/7888/commits/17a22b609b007130f0cf527df8cbc093da722bde |
|
9393486
fix(test): align session policy fixture with joined billing read
Sep 16, 2026
| https://github.com/simstudioai/sim/pull/7888/commits/939348682164e17d22c5009d7a6786480b8a4fff |
|
Clear filters
| https://github.com/simstudioai/sim/pull/7888/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7888/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7888/files |
|
test-build.yml
| https://github.com/simstudioai/sim/pull/7888/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-5f87cf2acbc6646b935f3ead5fee036c12372aac4eb69c4bd164cf27f6d9d7a4 |
|
route.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-11279d916ce2d7a7a6c2ab9d16a47e66ac95888511d8dbd22152011c075cabf9 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-4f03e697b17af810f8428c6dc0980e4ec5907ce2bc68ea3cb1d2d52ccce701e3 |
|
route.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-4e7ce8c053e7b762bb5aeab8850204b5951af0a6cc4681376ca96cca2d61b440 |
|
copilot.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-8b5dc9d30733bae6d14041b210bc4a1aacaa52829dcb1341289cf86395178fd0 |
|
session-hooks.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-be4f30a29c71ff5779ce08a80c7ade4e1c648d4cc0e1b6e6d8c43162cf8d9ac1 |
|
usage-reservation.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-106ada79a84bc56801c9ae6a3bc5239cd5b09a40061f145769957bb0bbee011d |
|
access.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-d8ce46d4659ff84175a7845d0fa864d985010d2b1d7d6a1d262779e841ca904e |
|
access.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-ff8213f97f44d80eac43ff9de56b4eb3f7379e3339beb6cb804e5693a4ce1d85 |
|
usage-log.postgres.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-9edf36203fe127079fe7de9bab948dfc440d2af4f676895eea3715554aed4d2c |
|
usage.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-76cbcb288fc18e02a54367b5d926740e68df335b2b118c1d92cb407704fba1fd |
|
usage.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-41305ed8be4067cf242cf6c6f01c4c2aa537836b1072141acf9adaef0e2a40e8 |
|
authorize-chat-callback.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-435e34dd133c046067e7094f9e6a4462b0e8d9bb87d1727af212610c4a8bfdde |
|
authorize-chat-callback.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-fe5f2468c67807fd0a3550520349943b82d3cda06aa8554b0abc2989508e9ec3 |
|
operations.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-b81b128471146c053626fc7fda80d09354ff9d491d0afbcc01bb9af8d08c710f |
|
lifecycle.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-0e2d56c1716b6d419cfff8df5546553c9b58d8f112d6785f76ad6b6adc119c07 |
|
lifecycle.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-412bf431f927ecc34ee4bd1cd7f089b212399fd692c0640e70d2bed4d5a8917d |
|
organization-chats.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-741504a92ea0f048cd331fb86edbcd6e80fa56069f61bd06c23a9a07c1a42ca2 |
|
organization-chats.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-3617183c7097540ba5901f9749078d3c31339919d1639aad3af182461ed3b242 |
|
billing-protocol-v1.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-9173951ef344d6d2ec30ec32e6f4a86adff8cdc18cc5608c403d612a892a6d1d |
|
run.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-8f9401002646f526b4435f2f4c8c1ad3cc2a433c924658ec60ada947d95fc1c5 |
|
search-latency.integration.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-2a5bd119422fb2a9a479531e9e0ea926dbaef06eb2a9ae45e1f786fac32385e8 |
|
budget.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-fc099ae3d7f1a159d3e213d403610fa7a7fdb66093d0700d1d2164d991519345 |
|
queries.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-b5bc7cdb4cf5dd93b0dc5beb76436fb9e70fc036e89833eaf8d9defb8bc83c3b |
|
queries.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-5f10054baeef2f06350b32a6520d8f841f86a2fc908435296dd8dcb097497ba9 |
|
0352_search_document_lookup.sql
| https://github.com/simstudioai/sim/pull/7888/files#diff-33583ad6c9a6f8f5130811c76ae8263da79a548a6c499ce75eccd59304d0f674 |
|
0352_snapshot.json
| https://github.com/simstudioai/sim/pull/7888/files#diff-33f3c44fe1f1cab50784c25afcadcadbb2a1299dc78ee854eac7327c2c94ce91 |
|
_journal.json
| https://github.com/simstudioai/sim/pull/7888/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649 |
|
schema.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928 |
|
script-migrations-paused-billing-attribution.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-509458c3951fa9cd2e97a7942fd977a83ef520c679d29dc242a5b2cacfb02743 |
|
0016_backfill_search_vectors.postgres.test.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-356dbbd8454d0f54e3461aeedfa2b0bec37bfa5930f8272878b0455ab14d6711 |
|
0016_backfill_search_vectors.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-8fb653c37076b45a7ecd5611b929c27821b23d8149091ec5652b1ba4c2d803d7 |
|
0017_index_search_documents.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-e9012fea27dc2824664b81651b2592482499476dc04cc9e33f2bb4bcf77b0e48 |
|
index.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-4c8058a0b924ce061c5ce010c1308148ea03720952dda10d03cee092b61adbd6 |
|
sync-billing-protocol-contract.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-3ddf77f91e55defb0d469bb2c7feaee80b435bc373ec6fee493930d240eafff9 |
|
test-knowledge-acls.ts
| https://github.com/simstudioai/sim/pull/7888/files#diff-11d2eed992824bef9b61574a683fb54ee2e34caa0bf7a62ece280a56250db1af |
| .github/workflows/test-build.yml | https://github.com/simstudioai/sim/pull/7888/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d |
|
View file
| https://github.com/simstudioai/sim/blob/939348682164e17d22c5009d7a6786480b8a4fff/.github/workflows/test-build.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7888/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7888/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d |
|
| https://github.com/simstudioai/sim/pull/7888/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d |
|
| https://github.com/simstudioai/sim/pull/7888/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d |
|
| https://github.com/simstudioai/sim/pull/7888/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d |
| Please reload this page | https://github.com/simstudioai/sim/pull/7888/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7888/files |
|
| 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 |