Closed jeremyphilemon closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ai-chatbot-rces | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 3, 2024 8:01pm |
oss-ai-chatbot | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 3, 2024 8:01pm |
Setting up a fresh install from https://vercel.com/templates/Next.js/nextjs-ai-chatbot
Will result in this error for follow up messages.
TypeError: Cannot destructure property 'role' of '.for' as it is undefined.
at /var/task/.next/server/chunks/903.js:25:183733
at u.getArgs (/var/task/.next/server/chunks/903.js:25:184606)
at u.doStream (/var/task/.next/server/chunks/903.js:25:186011)
at /var/task/.next/server/chunks/903.js:38:12187
at eF (/var/task/.next/server/chunks/903.js:37:33324)
at /var/task/.next/server/chunks/903.js:37:33189
at e6 (/var/task/.next/server/chunks/903.js:38:12179)
at J (/var/task/.next/server/chunks/246.js:1:25381)
at n (/var/task/.next/server/app/(chat)/page.js:1:4910)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
digest: '1893658466'
}
Setting up a fresh install from https://vercel.com/templates/Next.js/nextjs-ai-chatbot
Will result in this error for follow up messages.
TypeError: Cannot destructure property 'role' of '.for' as it is undefined. at /var/task/.next/server/chunks/903.js:25:183733 at u.getArgs (/var/task/.next/server/chunks/903.js:25:184606) at u.doStream (/var/task/.next/server/chunks/903.js:25:186011) at /var/task/.next/server/chunks/903.js:38:12187 at eF (/var/task/.next/server/chunks/903.js:37:33324) at /var/task/.next/server/chunks/903.js:37:33189 at e6 (/var/task/.next/server/chunks/903.js:38:12179) at J (/var/task/.next/server/chunks/246.js:1:25381) at n (/var/task/.next/server/app/(chat)/page.js:1:4910) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { digest: '1893658466' }
This error is mentioned in https://github.com/vercel/ai-chatbot/issues/325
closes #323