| 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:5e9037a9-0b84-7d28-558f-ca4119813ecf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D2C8:228216:59476:7F200:6AFAF0AB |
| html-safe-nonce | 41c4019cec4a48ae563a56404d52cabaf916700fdda0c25b5fcc69d1f2166d8a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkM4OjIyODIxNjo1OTQ3Njo3RjIwMDo2QUZBRjBBQiIsInZpc2l0b3JfaWQiOiI2OTk5MzQ0NzI0NzQ1ODQyODU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e9067212c6e42287b60a4c2415d58f381bbb451f9c9374666cbe14d457db43ef |
| hovercard-subject-tag | pull_request:3781799161 |
| 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/triggerdotdev/trigger.dev/pull/3790/files |
| twitter:image | https://avatars.githubusercontent.com/u/534?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/534?s=400&v=4 |
| og:image:alt | Summary
chat.agent now takes a tools option. Until now tools only went to streamText inside run(), so the SDK had no tools when it re-converted the persisted UIMessage history at the start of each ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| 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 | 12fff95459b24b0f882a66698ee6a36a5934d247 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/triggerdotdev/trigger.dev/pull/3790/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3790%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%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3790%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=triggerdotdev%2Ftrigger.dev |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
| triggerdotdev | https://github.com/triggerdotdev |
| trigger.dev | https://github.com/triggerdotdev/trigger.dev |
| Code | https://github.com/triggerdotdev/trigger.dev |
| Issues203 (203) | https://github.com/triggerdotdev/trigger.dev/issues |
| Pull requests67 (67) | https://github.com/triggerdotdev/trigger.dev/pulls |
| Discussions | https://github.com/triggerdotdev/trigger.dev/discussions |
| Actions | https://github.com/triggerdotdev/trigger.dev/actions |
| Projects | https://github.com/triggerdotdev/trigger.dev/projects |
| Security and quality39 (39) | https://github.com/triggerdotdev/trigger.dev/security |
| Insights | https://github.com/triggerdotdev/trigger.dev/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%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=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| ericallam | https://github.com/ericallam |
| main | https://github.com/triggerdotdev/trigger.dev/tree/main |
| feature/tri-10149-chatagent-thread-tools-through-internal | https://github.com/triggerdotdev/trigger.dev/tree/feature/tri-10149-chatagent-thread-tools-through-internal |
|
Conversation
12
| https://github.com/triggerdotdev/trigger.dev/pull/3790 |
|
Commits
2
| https://github.com/triggerdotdev/trigger.dev/pull/3790/commits |
|
Checks
48
| https://github.com/triggerdotdev/trigger.dev/pull/3790/checks |
|
Files changed
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
|
fix(sdk): re-apply tool toModelOutput across chat.agent turns
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#top |
|
Show all changes
2 commits
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
|
57b15d8
fix(sdk): re-apply tool toModelOutput across chat.agent turns
ericallam Jun 1, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3790/commits/57b15d8b6b1b51fd1c156627f7e58dc3465a5885 |
|
30e9853
fix(sdk): fail closed on tools() errors and re-apply toModelOutput on…
ericallam Jun 1, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3790/commits/30e98538270894250653cab4feaed2e25682e966 |
|
Clear filters
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
|
chat-agent-tools.md
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-4d44c4152cef5fa2ff8331886d7ca0aa7de7eb0a0fb1d8a088b314173a31d37f |
|
ai-shared.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-9393fc0c89967bc50f8e62dc61de644be02def679352ba2ee87ebd00b041edf2 |
|
ai.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
mockChatAgent.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-57bae465d6d60ad1ba7ad0a3d65dbd8febd0b8ad573c71def72beff99a0f6687 |
|
chat-sidebar.tsx
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1519992818e32684e55ae41a5aa366e6eaca92bd80b4317f685fd4a15ece0a01 |
|
chat-tools-schemas.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1fc739ddb2c9223e18a997a70a8e03ce7ca34499132e6cee6d7b680f9f3c4244 |
|
chat.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-d9f452b518ccf8158728d69c59db83139af4f72d429753e47fcd0b3293881302 |
| .changeset/chat-agent-tools.md | https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-4d44c4152cef5fa2ff8331886d7ca0aa7de7eb0a0fb1d8a088b314173a31d37f |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/30e98538270894250653cab4feaed2e25682e966/.changeset/chat-agent-tools.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3790/{{ revealButtonHref }} |
| packages/trigger-sdk/src/v3/ai-shared.ts | https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-9393fc0c89967bc50f8e62dc61de644be02def679352ba2ee87ebd00b041edf2 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/30e98538270894250653cab4feaed2e25682e966/packages/trigger-sdk/src/v3/ai-shared.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3790/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-9393fc0c89967bc50f8e62dc61de644be02def679352ba2ee87ebd00b041edf2 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-9393fc0c89967bc50f8e62dc61de644be02def679352ba2ee87ebd00b041edf2 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-9393fc0c89967bc50f8e62dc61de644be02def679352ba2ee87ebd00b041edf2 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-9393fc0c89967bc50f8e62dc61de644be02def679352ba2ee87ebd00b041edf2 |
| packages/trigger-sdk/src/v3/ai.ts | https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/30e98538270894250653cab4feaed2e25682e966/packages/trigger-sdk/src/v3/ai.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3790/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3790/files |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3790/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3790/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 |