fix(reference): use compatible @ai-sdk v3 packages, await convertToModelMessages

@ai-sdk/openai v3 and @ai-sdk/react v3 are needed for ai v6 compatibility.
convertToModelMessages is async in newer AI SDK versions.

Co-authored-by: Eric Allam <eric@trigger.dev>
This commit is contained in:
Cursor Agent
2026-02-15 13:27:14 +00:00
committed by Eric Allam
parent 993ed9b15f
commit 01dc75ad4b
3 changed files with 277 additions and 16 deletions
+274 -13
View File
@@ -2108,6 +2108,55 @@ importers:
specifier: 3.25.76
version: 3.25.76
references/ai-chat:
dependencies:
'@ai-sdk/openai':
specifier: ^3.0.0
version: 3.0.27(zod@3.25.76)
'@ai-sdk/react':
specifier: ^3.0.0
version: 3.0.84(react@19.1.0)(zod@3.25.76)
'@trigger.dev/sdk':
specifier: workspace:*
version: link:../../packages/trigger-sdk
ai:
specifier: ^6.0.0
version: 6.0.3(zod@3.25.76)
next:
specifier: 15.3.3
version: 15.3.3(@opentelemetry/api@1.9.0)(@playwright/test@1.37.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
react:
specifier: ^19.0.0
version: 19.1.0
react-dom:
specifier: ^19.0.0
version: 19.1.0(react@19.1.0)
devDependencies:
'@tailwindcss/postcss':
specifier: ^4
version: 4.0.17
'@trigger.dev/build':
specifier: workspace:*
version: link:../../packages/build
'@types/node':
specifier: 20.14.14
version: 20.14.14
'@types/react':
specifier: ^19
version: 19.0.12
'@types/react-dom':
specifier: ^19
version: 19.0.4(@types/react@19.0.12)
tailwindcss:
specifier: ^4
version: 4.0.17
trigger.dev:
specifier: workspace:*
version: link:../../packages/cli-v3
typescript:
specifier: 5.5.4
version: 5.5.4
references/bun-catalog:
dependencies:
'@trigger.dev/sdk':
@@ -2867,6 +2916,12 @@ packages:
peerDependencies:
zod: ^3.25.76 || ^4.1.8
'@ai-sdk/gateway@3.0.42':
resolution: {integrity: sha512-Il9lZWPUQMX59H5yJvA08gxfL2Py8oHwvAYRnK0Mt91S+JgPcyk/yEmXNDZG9ghJrwSawtK5Yocy8OnzsTOGsw==}
engines: {node: '>=18'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
'@ai-sdk/openai@1.0.1':
resolution: {integrity: sha512-snZge8457afWlosVNUn+BG60MrxAPOOm3zmIMxJZih8tneNSiRbTVCbSzAtq/9vsnOHDe5RR83PRl85juOYEnA==}
engines: {node: '>=18'}
@@ -2897,6 +2952,12 @@ packages:
peerDependencies:
zod: ^3.25.76 || ^4.1.8
'@ai-sdk/openai@3.0.27':
resolution: {integrity: sha512-pLMxWOypwroXiK9dxNpn60/HGhWWWDEOJ3lo9vZLoxvpJNtKnLKojwVIvlW3yEjlD7ll1+jUO2uzsABNTaP5Yg==}
engines: {node: '>=18'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
'@ai-sdk/provider-utils@1.0.22':
resolution: {integrity: sha512-YHK2rpj++wnLVc9vPGzGFP3Pjeld2MwhKinetA0zKXOoHAT/Jit5O8kZsxcSlJPu9wvcGT1UGZEjZrtO7PfFOQ==}
engines: {node: '>=18'}
@@ -2945,6 +3006,12 @@ packages:
peerDependencies:
zod: ^3.25.76 || ^4.1.8
'@ai-sdk/provider-utils@4.0.14':
resolution: {integrity: sha512-7bzKd9lgiDeXM7O4U4nQ8iTxguAOkg8LZGD9AfDVZYjO5cKYRwBPwVjboFcVrxncRHu0tYxZtXZtiLKpG4pEng==}
engines: {node: '>=18'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
'@ai-sdk/provider@0.0.26':
resolution: {integrity: sha512-dQkfBDs2lTYpKM8389oopPdQgIU007GQyCbuPPrV+K6MtSII3HBfE0stUIMXUb44L+LK1t6GXPP7wjSzjO6uKg==}
engines: {node: '>=18'}
@@ -2969,6 +3036,10 @@ packages:
resolution: {integrity: sha512-m9ka3ptkPQbaHHZHqDXDF9C9B5/Mav0KTdky1k2HZ3/nrW2t1AgObxIVPyGDWQNS9FXT/FS6PIoSjpcP/No8rQ==}
engines: {node: '>=18'}
'@ai-sdk/provider@3.0.8':
resolution: {integrity: sha512-oGMAgGoQdBXbZqNG0Ze56CHjDZ1IDYOwGYxYjO5KLSlz5HiNQ9udIXsPZ61VWaHGZ5XW/jyjmr6t2xz2jGVwbQ==}
engines: {node: '>=18'}
'@ai-sdk/react@1.0.0':
resolution: {integrity: sha512-BDrZqQA07Btg64JCuhFvBgYV+tt2B8cXINzEqWknGoxqcwgdE8wSLG2gkXoLzyC2Rnj7oj0HHpOhLUxDCmoKZg==}
engines: {node: '>=18'}
@@ -3001,6 +3072,12 @@ packages:
zod:
optional: true
'@ai-sdk/react@3.0.84':
resolution: {integrity: sha512-caX8dsXGHDctQsFGgq05sdaw9YD2C8Y9SfnOk0b0LPPi4J7/V54tq22MPTGVO9zS3LmsfFQf0GDM4WFZNC5XZA==}
engines: {node: '>=18'}
peerDependencies:
react: ^18 || ~19.0.1 || ~19.1.2 || ^19.2.1
'@ai-sdk/ui-utils@1.0.0':
resolution: {integrity: sha512-oXBDIM/0niWeTWyw77RVl505dNxBUDLLple7bTsqo2d3i1UKwGlzBUX8XqZsh7GbY7I6V05nlG0Y8iGlWxv1Aw==}
engines: {node: '>=18'}
@@ -5920,6 +5997,9 @@ packages:
'@next/env@15.2.4':
resolution: {integrity: sha512-+SFtMgoiYP3WoSswuNmxJOCwi06TdWE733D+WPjpXIe4LXGULwEaofiiAy6kbS0+XjM5xF5n3lKuBwN2SnqD9g==}
'@next/env@15.3.3':
resolution: {integrity: sha512-OdiMrzCl2Xi0VTjiQQUK0Xh7bJHnOuET2s+3V+Y40WJBAXrJeGA3f+I8MZJ/YQ3mVGi5XGR1L66oFlgqXhQ4Vw==}
'@next/env@15.4.8':
resolution: {integrity: sha512-LydLa2MDI1NMrOFSkO54mTc8iIHSttj6R6dthITky9ylXV2gCGi0bHQjVCtLGRshdRPjyh2kXbxJukDtBWQZtQ==}
@@ -5944,6 +6024,12 @@ packages:
cpu: [arm64]
os: [darwin]
'@next/swc-darwin-arm64@15.3.3':
resolution: {integrity: sha512-WRJERLuH+O3oYB4yZNVahSVFmtxRNjNF1I1c34tYMoJb0Pve+7/RaLAJJizyYiFhjYNGHRAE1Ri2Fd23zgDqhg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
'@next/swc-darwin-arm64@15.4.8':
resolution: {integrity: sha512-Pf6zXp7yyQEn7sqMxur6+kYcywx5up1J849psyET7/8pG2gQTVMjU3NzgIt8SeEP5to3If/SaWmaA6H6ysBr1A==}
engines: {node: '>= 10'}
@@ -5974,6 +6060,12 @@ packages:
cpu: [x64]
os: [darwin]
'@next/swc-darwin-x64@15.3.3':
resolution: {integrity: sha512-XHdzH/yBc55lu78k/XwtuFR/ZXUTcflpRXcsu0nKmF45U96jt1tsOZhVrn5YH+paw66zOANpOnFQ9i6/j+UYvw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
'@next/swc-darwin-x64@15.4.8':
resolution: {integrity: sha512-xla6AOfz68a6kq3gRQccWEvFC/VRGJmA/QuSLENSO7CZX5WIEkSz7r1FdXUjtGCQ1c2M+ndUAH7opdfLK1PQbw==}
engines: {node: '>= 10'}
@@ -6007,6 +6099,13 @@ packages:
os: [linux]
libc: [glibc]
'@next/swc-linux-arm64-gnu@15.3.3':
resolution: {integrity: sha512-VZ3sYL2LXB8znNGcjhocikEkag/8xiLgnvQts41tq6i+wql63SMS1Q6N8RVXHw5pEUjiof+II3HkDd7GFcgkzw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@next/swc-linux-arm64-gnu@15.4.8':
resolution: {integrity: sha512-y3fmp+1Px/SJD+5ntve5QLZnGLycsxsVPkTzAc3zUiXYSOlTPqT8ynfmt6tt4fSo1tAhDPmryXpYKEAcoAPDJw==}
engines: {node: '>= 10'}
@@ -6042,6 +6141,13 @@ packages:
os: [linux]
libc: [musl]
'@next/swc-linux-arm64-musl@15.3.3':
resolution: {integrity: sha512-h6Y1fLU4RWAp1HPNJWDYBQ+e3G7sLckyBXhmH9ajn8l/RSMnhbuPBV/fXmy3muMcVwoJdHL+UtzRzs0nXOf9SA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [musl]
'@next/swc-linux-arm64-musl@15.4.8':
resolution: {integrity: sha512-DX/L8VHzrr1CfwaVjBQr3GWCqNNFgyWJbeQ10Lx/phzbQo3JNAxUok1DZ8JHRGcL6PgMRgj6HylnLNndxn4Z6A==}
engines: {node: '>= 10'}
@@ -6077,6 +6183,13 @@ packages:
os: [linux]
libc: [glibc]
'@next/swc-linux-x64-gnu@15.3.3':
resolution: {integrity: sha512-jJ8HRiF3N8Zw6hGlytCj5BiHyG/K+fnTKVDEKvUCyiQ/0r5tgwO7OgaRiOjjRoIx2vwLR+Rz8hQoPrnmFbJdfw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [glibc]
'@next/swc-linux-x64-gnu@15.4.8':
resolution: {integrity: sha512-9fLAAXKAL3xEIFdKdzG5rUSvSiZTLLTCc6JKq1z04DR4zY7DbAPcRvNm3K1inVhTiQCs19ZRAgUerHiVKMZZIA==}
engines: {node: '>= 10'}
@@ -6112,6 +6225,13 @@ packages:
os: [linux]
libc: [musl]
'@next/swc-linux-x64-musl@15.3.3':
resolution: {integrity: sha512-HrUcTr4N+RgiiGn3jjeT6Oo208UT/7BuTr7K0mdKRBtTbT4v9zJqCDKO97DUqqoBK1qyzP1RwvrWTvU6EPh/Cw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [musl]
'@next/swc-linux-x64-musl@15.4.8':
resolution: {integrity: sha512-s45V7nfb5g7dbS7JK6XZDcapicVrMMvX2uYgOHP16QuKH/JA285oy6HcxlKqwUNaFY/UC6EvQ8QZUOo19cBKSA==}
engines: {node: '>= 10'}
@@ -6144,6 +6264,12 @@ packages:
cpu: [arm64]
os: [win32]
'@next/swc-win32-arm64-msvc@15.3.3':
resolution: {integrity: sha512-SxorONgi6K7ZUysMtRF3mIeHC5aA3IQLmKFQzU0OuhuUYwpOBc1ypaLJLP5Bf3M9k53KUUUj4vTPwzGvl/NwlQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
'@next/swc-win32-arm64-msvc@15.4.8':
resolution: {integrity: sha512-KjgeQyOAq7t/HzAJcWPGA8X+4WY03uSCZ2Ekk98S9OgCFsb6lfBE3dbUzUuEQAN2THbwYgFfxX2yFTCMm8Kehw==}
engines: {node: '>= 10'}
@@ -6186,6 +6312,12 @@ packages:
cpu: [x64]
os: [win32]
'@next/swc-win32-x64-msvc@15.3.3':
resolution: {integrity: sha512-4QZG6F8enl9/S2+yIiOiju0iCTFd93d8VC1q9LZS4p/Xuk81W2QDjCFeoogmrWWkAD59z8ZxepBQap2dKS5ruw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
'@next/swc-win32-x64-msvc@15.4.8':
resolution: {integrity: sha512-Exsmf/+42fWVnLMaZHzshukTBxZrSwuuLKFvqhGHJ+mC1AokqieLY/XzAl3jc/CqhXLqLY3RRjkKJ9YnLPcRWg==}
engines: {node: '>= 10'}
@@ -11121,6 +11253,10 @@ packages:
resolution: {integrity: sha512-fnYhv671l+eTTp48gB4zEsTW/YtRgRPnkI2nT7x6qw5rkI1Lq2hTmQIpHPgyThI0znLK+vX2n9XxKdXZ7BUbbw==}
engines: {node: '>= 20'}
'@vercel/oidc@3.1.0':
resolution: {integrity: sha512-Fw28YZpRnA3cAHHDlkt7xQHiJ0fcL+NRcIqsocZQUSmbzeIKRpwttJjik5ZGanXP+vlA4SbTg+AbA3bP363l+w==}
engines: {node: '>= 20'}
'@vercel/otel@1.13.0':
resolution: {integrity: sha512-esRkt470Y2jRK1B1g7S1vkt4Csu44gp83Zpu8rIyPoqy2BKgk4z7ik1uSMswzi45UogLHFl6yR5TauDurBQi4Q==}
engines: {node: '>=18'}
@@ -11468,6 +11604,12 @@ packages:
peerDependencies:
zod: ^3.25.76 || ^4.1.8
ai@6.0.82:
resolution: {integrity: sha512-WLml1ab2IXtREgkxrq2Pl6lFO6NKgC17MqTzmK5mO1UO6tMAJiVjkednw9p0j4+/LaUIZQoRiIT8wA37LswZ9Q==}
engines: {node: '>=18'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
ajv-formats@2.1.1:
resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}
peerDependencies:
@@ -16257,6 +16399,28 @@ packages:
sass:
optional: true
next@15.3.3:
resolution: {integrity: sha512-JqNj29hHNmCLtNvd090SyRbXJiivQ+58XjCcrC50Crb5g5u2zi7Y2YivbsEfzk6AtVI80akdOQbaMZwWB1Hthw==}
engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}
deprecated: This version has a security vulnerability. Please upgrade to a patched version. See https://nextjs.org/blog/CVE-2025-66478 for more details.
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
'@playwright/test': ^1.41.2
babel-plugin-react-compiler: '*'
react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
sass: ^1.3.0
peerDependenciesMeta:
'@opentelemetry/api':
optional: true
'@playwright/test':
optional: true
babel-plugin-react-compiler:
optional: true
sass:
optional: true
next@15.4.8:
resolution: {integrity: sha512-jwOXTz/bo0Pvlf20FSb6VXVeWRssA2vbvq9SdrOPEg9x8E1B27C2rQtvriAn600o9hH61kjrVRexEffv3JybuA==}
engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}
@@ -17207,10 +17371,6 @@ packages:
resolution: {integrity: sha512-Aweb9unOEpQ3ezu4Q00DPvvM2ZTUitJdNKeP/+uQgr1IBIqu574IaZoURId7BKtWMREwzKa9OgzPzezWGPWFQw==}
engines: {node: ^10 || ^12 || >=14}
postcss@8.5.3:
resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==}
engines: {node: ^10 || ^12 || >=14}
postcss@8.5.4:
resolution: {integrity: sha512-QSa9EBe+uwlGTFmHsPKokv3B/oEMQZxfqW0QqNCyhpa6mB1afzulwn8hihglqAb2pOw+BJgNlmXQ8la2VeHB7w==}
engines: {node: ^10 || ^12 || >=14}
@@ -20261,6 +20421,13 @@ snapshots:
'@vercel/oidc': 3.0.5
zod: 3.25.76
'@ai-sdk/gateway@3.0.42(zod@3.25.76)':
dependencies:
'@ai-sdk/provider': 3.0.8
'@ai-sdk/provider-utils': 4.0.14(zod@3.25.76)
'@vercel/oidc': 3.1.0
zod: 3.25.76
'@ai-sdk/openai@1.0.1(zod@3.25.76)':
dependencies:
'@ai-sdk/provider': 1.0.0
@@ -20291,6 +20458,12 @@ snapshots:
'@ai-sdk/provider-utils': 3.0.12(zod@3.25.76)
zod: 3.25.76
'@ai-sdk/openai@3.0.27(zod@3.25.76)':
dependencies:
'@ai-sdk/provider': 3.0.8
'@ai-sdk/provider-utils': 4.0.14(zod@3.25.76)
zod: 3.25.76
'@ai-sdk/provider-utils@1.0.22(zod@3.25.76)':
dependencies:
'@ai-sdk/provider': 0.0.26
@@ -20345,6 +20518,13 @@ snapshots:
eventsource-parser: 3.0.6
zod: 3.25.76
'@ai-sdk/provider-utils@4.0.14(zod@3.25.76)':
dependencies:
'@ai-sdk/provider': 3.0.8
'@standard-schema/spec': 1.1.0
eventsource-parser: 3.0.6
zod: 3.25.76
'@ai-sdk/provider@0.0.26':
dependencies:
json-schema: 0.4.0
@@ -20369,6 +20549,10 @@ snapshots:
dependencies:
json-schema: 0.4.0
'@ai-sdk/provider@3.0.8':
dependencies:
json-schema: 0.4.0
'@ai-sdk/react@1.0.0(react@18.3.1)(zod@3.25.76)':
dependencies:
'@ai-sdk/provider-utils': 2.0.0(zod@3.25.76)
@@ -20399,6 +20583,16 @@ snapshots:
optionalDependencies:
zod: 3.25.76
'@ai-sdk/react@3.0.84(react@19.1.0)(zod@3.25.76)':
dependencies:
'@ai-sdk/provider-utils': 4.0.14(zod@3.25.76)
ai: 6.0.82(zod@3.25.76)
react: 19.1.0
swr: 2.2.5(react@19.1.0)
throttleit: 2.1.0
transitivePeerDependencies:
- zod
'@ai-sdk/ui-utils@1.0.0(zod@3.25.76)':
dependencies:
'@ai-sdk/provider': 1.0.0
@@ -24405,6 +24599,8 @@ snapshots:
'@next/env@15.2.4': {}
'@next/env@15.3.3': {}
'@next/env@15.4.8': {}
'@next/env@15.5.6': {}
@@ -24418,6 +24614,9 @@ snapshots:
'@next/swc-darwin-arm64@15.2.4':
optional: true
'@next/swc-darwin-arm64@15.3.3':
optional: true
'@next/swc-darwin-arm64@15.4.8':
optional: true
@@ -24433,6 +24632,9 @@ snapshots:
'@next/swc-darwin-x64@15.2.4':
optional: true
'@next/swc-darwin-x64@15.3.3':
optional: true
'@next/swc-darwin-x64@15.4.8':
optional: true
@@ -24448,6 +24650,9 @@ snapshots:
'@next/swc-linux-arm64-gnu@15.2.4':
optional: true
'@next/swc-linux-arm64-gnu@15.3.3':
optional: true
'@next/swc-linux-arm64-gnu@15.4.8':
optional: true
@@ -24463,6 +24668,9 @@ snapshots:
'@next/swc-linux-arm64-musl@15.2.4':
optional: true
'@next/swc-linux-arm64-musl@15.3.3':
optional: true
'@next/swc-linux-arm64-musl@15.4.8':
optional: true
@@ -24478,6 +24686,9 @@ snapshots:
'@next/swc-linux-x64-gnu@15.2.4':
optional: true
'@next/swc-linux-x64-gnu@15.3.3':
optional: true
'@next/swc-linux-x64-gnu@15.4.8':
optional: true
@@ -24493,6 +24704,9 @@ snapshots:
'@next/swc-linux-x64-musl@15.2.4':
optional: true
'@next/swc-linux-x64-musl@15.3.3':
optional: true
'@next/swc-linux-x64-musl@15.4.8':
optional: true
@@ -24508,6 +24722,9 @@ snapshots:
'@next/swc-win32-arm64-msvc@15.2.4':
optional: true
'@next/swc-win32-arm64-msvc@15.3.3':
optional: true
'@next/swc-win32-arm64-msvc@15.4.8':
optional: true
@@ -24529,6 +24746,9 @@ snapshots:
'@next/swc-win32-x64-msvc@15.2.4':
optional: true
'@next/swc-win32-x64-msvc@15.3.3':
optional: true
'@next/swc-win32-x64-msvc@15.4.8':
optional: true
@@ -30572,7 +30792,7 @@ snapshots:
'@tailwindcss/node': 4.0.17
'@tailwindcss/oxide': 4.0.17
lightningcss: 1.29.2
postcss: 8.5.3
postcss: 8.5.6
tailwindcss: 4.0.17
'@tailwindcss/typography@0.5.9(tailwindcss@3.4.1)':
@@ -31115,7 +31335,7 @@ snapshots:
'@types/react@19.0.12':
dependencies:
csstype: 3.1.3
csstype: 3.2.0
'@types/readable-stream@4.0.14':
dependencies:
@@ -31454,6 +31674,8 @@ snapshots:
'@vercel/oidc@3.0.5': {}
'@vercel/oidc@3.1.0': {}
'@vercel/otel@1.13.0(@opentelemetry/api-logs@0.203.0)(@opentelemetry/api@1.9.0)(@opentelemetry/instrumentation@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/resources@2.2.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-logs@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-metrics@2.0.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))':
dependencies:
'@opentelemetry/api': 1.9.0
@@ -31897,6 +32119,14 @@ snapshots:
'@opentelemetry/api': 1.9.0
zod: 3.25.76
ai@6.0.82(zod@3.25.76):
dependencies:
'@ai-sdk/gateway': 3.0.42(zod@3.25.76)
'@ai-sdk/provider': 3.0.8
'@ai-sdk/provider-utils': 4.0.14(zod@3.25.76)
'@opentelemetry/api': 1.9.0
zod: 3.25.76
ajv-formats@2.1.1(ajv@8.17.1):
optionalDependencies:
ajv: 8.17.1
@@ -33678,7 +33908,7 @@ snapshots:
enhanced-resolve@5.15.0:
dependencies:
graceful-fs: 4.2.11
tapable: 2.2.1
tapable: 2.3.0
enhanced-resolve@5.18.3:
dependencies:
@@ -37625,6 +37855,33 @@ snapshots:
- '@babel/core'
- babel-plugin-macros
next@15.3.3(@opentelemetry/api@1.9.0)(@playwright/test@1.37.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
'@next/env': 15.3.3
'@swc/counter': 0.1.3
'@swc/helpers': 0.5.15
busboy: 1.6.0
caniuse-lite: 1.0.30001754
postcss: 8.4.31
react: 19.1.0
react-dom: 19.1.0(react@19.1.0)
styled-jsx: 5.1.6(react@19.1.0)
optionalDependencies:
'@next/swc-darwin-arm64': 15.3.3
'@next/swc-darwin-x64': 15.3.3
'@next/swc-linux-arm64-gnu': 15.3.3
'@next/swc-linux-arm64-musl': 15.3.3
'@next/swc-linux-x64-gnu': 15.3.3
'@next/swc-linux-x64-musl': 15.3.3
'@next/swc-win32-arm64-msvc': 15.3.3
'@next/swc-win32-x64-msvc': 15.3.3
'@opentelemetry/api': 1.9.0
'@playwright/test': 1.37.0
sharp: 0.34.5
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
next@15.4.8(@opentelemetry/api@1.9.0)(@playwright/test@1.37.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0):
dependencies:
'@next/env': 15.4.8
@@ -38673,12 +38930,6 @@ snapshots:
picocolors: 1.1.1
source-map-js: 1.2.0
postcss@8.5.3:
dependencies:
nanoid: 3.3.8
picocolors: 1.1.1
source-map-js: 1.2.1
postcss@8.5.4:
dependencies:
nanoid: 3.3.11
@@ -40904,6 +41155,12 @@ snapshots:
react: 19.0.0
use-sync-external-store: 1.2.2(react@19.0.0)
swr@2.2.5(react@19.1.0):
dependencies:
client-only: 0.0.1
react: 19.1.0
use-sync-external-store: 1.2.2(react@19.1.0)
sync-content@2.0.1:
dependencies:
glob: 11.0.0
@@ -41846,6 +42103,10 @@ snapshots:
dependencies:
react: 19.0.0
use-sync-external-store@1.2.2(react@19.1.0):
dependencies:
react: 19.1.0
util-deprecate@1.0.2: {}
util@0.12.5:
+2 -2
View File
@@ -9,8 +9,8 @@
"dev:trigger": "trigger dev"
},
"dependencies": {
"@ai-sdk/openai": "^2.0.0",
"@ai-sdk/react": "^2.0.0",
"@ai-sdk/openai": "^3.0.0",
"@ai-sdk/react": "^3.0.0",
"@trigger.dev/sdk": "workspace:*",
"ai": "^6.0.0",
"next": "15.3.3",
+1 -1
View File
@@ -8,7 +8,7 @@ export const chat = chatTask({
return streamText({
model: openai("gpt-4o-mini"),
system: "You are a helpful assistant. Be concise and friendly.",
messages: convertToModelMessages(messages),
messages: await convertToModelMessages(messages),
});
},
});