Skip to content

Commit adc40cf

Browse files
authored
fix: vercel ai update crash sending annotations (#287)
* fix: vercel ai update crash sending annotations * Create five-ties-happen.md
1 parent 7bce738 commit adc40cf

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.changeset/five-ties-happen.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-llama": patch
3+
---
4+
5+
fix: vercel ai update crash sending annotations

templates/types/streaming/express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dev": "concurrently \"tsup index.ts --format esm --dts --watch\" \"nodemon --watch dist/index.js\""
1616
},
1717
"dependencies": {
18-
"ai": "^3.0.21",
18+
"ai": "3.0.21",
1919
"cors": "^2.8.5",
2020
"dotenv": "^16.3.1",
2121
"duck-duck-scrape": "^2.2.5",

templates/types/streaming/nextjs/app/components/chat-section.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export default function ChatSection() {
2929
const message = JSON.parse(error.message);
3030
alert(message.detail);
3131
},
32+
sendExtraMessageFields: true,
3233
});
3334

3435
return (

templates/types/streaming/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@radix-ui/react-hover-card": "^1.0.7",
1818
"@radix-ui/react-select": "^2.1.1",
1919
"@radix-ui/react-slot": "^1.0.2",
20-
"ai": "^3.0.21",
20+
"ai": "3.0.21",
2121
"ajv": "^8.12.0",
2222
"class-variance-authority": "^0.7.0",
2323
"clsx": "^2.1.1",

0 commit comments

Comments
 (0)