You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vercel AI: streamObject is not traced on AI SDK v4–v6 since v11 #25779
Since v11 made channel-based instrumentation the default (#22501), streamObject creates no gen_ai spans on ai v4–v6. v10's OTel path traced it, and the docs still list it as traced on v6 and below.
ai
generateText
streamText
generateObject
streamObject
6.0.316
✅
✅
✅
❌
7.0.154
✅
✅
❌
❌
Repro: Next.js 16.4.3 with @sentry/nextjs 11.9.0 and real model calls. Plain @sentry/node behaves the same; the integration test in the fix PR fails on develop.
Why: the orchestrion config injects generateText, streamText and generateObject, but not streamObject (vercel-ai.ts). With no operation span, the model call isn't spanned either.
The v7 row isn't a regression and won't change. generateObject and streamObject are deprecated since ai v6, and v7 doesn't publish them on ai:telemetry. Vercel won't add it (vercel/ai#24125). Our tests already skip it.
Activity
linear-code commentedon Oct 27, 2026
JS-4014