Skip to content

Commit 886c8b5

Browse files
committed
fix: add missing AI SDK deps for chat and search routes
The chat API route (app/api/chat/route.ts) imports @ai-sdk/openai-compatible and ai but neither was declared in app/package.json. Also skip puppeteer Chrome download in .npmrc since it's only used for optional screenshot capture and its postinstall failure breaks pnpm install in CI.
1 parent f6862a9 commit 886c8b5

File tree

3 files changed

+5429
-2396
lines changed

3 files changed

+5429
-2396
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
auto-install-peers=true
22
link-workspace-packages=true
3+
puppeteer_skip_download=true

app/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
"postinstall": "docs-mdx source.config.ts .source"
2424
},
2525
"dependencies": {
26+
"@ai-sdk/openai-compatible": "^0.2.0",
27+
"ai": "^4.3.0",
2628
"@ctrl/tinycolor": "^4.2.0",
2729
"@dnd-kit/core": "^6.3.1",
2830
"@dnd-kit/modifiers": "^9.0.0",

0 commit comments

Comments
 (0)