Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apis/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"itty-router": "^3.0.12",
"tsup": "^8.4.0",
"typescript": "^5.0.4",
"wrangler": "^4.28.1"
"wrangler": "^4.59.1"
},
"dependencies": {
"braintrust": "^0.3.7",
Expand Down
6 changes: 3 additions & 3 deletions apis/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
"dependencies": {
"@braintrust/proxy": "workspace:*",
"@supabase/supabase-js": "^2.32.0",
"ai": "2.2.22",
"ai": "5.0.52",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Revert ai major bump or migrate legacy stream imports

This changes ai from 2.x to 5.x, but the codebase still depends on legacy ai streaming helpers (AIStream / AIStreamCallbacksAndOptions in apis/node/src/anthropic.ts:1-2,65-67 and trimStartOfStreamHelper in packages/proxy/utils/openai.ts:5,21). Those APIs are from the older SDK surface and are not available on the v5 package, so the Node and proxy builds will fail when TypeScript resolves these imports unless the call sites are migrated first.

Useful? React with 👍 / 👎.

"aws-lambda": "^1.0.7",
"axios": "^1.13.1",
"binary-search": "^1.3.6",
"combined-stream": "^1.0.8",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"esbuild": "^0.27.0",
"esbuild": "^0.27.1",
"eventsource-parser": "^1.1.1",
"express": "^4.19.2",
"express": "^4.22.0",
"openai": "^4.104.0",
"redis": "^4.6.8"
},
Expand Down
2 changes: 1 addition & 1 deletion apis/vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@vercel/examples-ui": "^1.0.5",
"@vercel/kv": "^0.2.2",
"@braintrust/proxy": "workspace:*",
"next": "14.2.34",
"next": "15.5.10",
"react": "latest",
"react-dom": "latest"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@opentelemetry/exporter-metrics-otlp-http": "^0.204.0",
"@opentelemetry/resources": "^2.1.0",
"@opentelemetry/sdk-metrics": "^2.1.0",
"ai": "2.2.37",
"ai": "5.0.52",
"cache-control-parser": "^2.0.6",
"content-disposition": "^0.5.4",
"date-fns": "^4.1.0",
Expand Down
Loading
Loading