Skip to content

feat(server-utils): Record Vercel AI experimental_decide calls as gen_ai.decide spans - #25274

Merged
andreiborza merged 3 commits into
developfrom
ab/vercel-ai-decide-spans
Oct 12, 2026
Merged

andreiborza merged 3 commits into
developfrom
ab/vercel-ai-decide-spans

Conversation

@andreiborza

Copy link
Copy Markdown
Member

What

Vercel AI experimental_decide calls now create decide <model> spans with op gen_ai.decide, instead of gen_ai.evaluate.

Why

gen_ai.evaluate is deprecated in favor of gen_ai.decide (getsentry/sentry-conventions#696), to match the Vercel AI rename to experimental_decide.

Closes: #25251

@andreiborza
andreiborza marked this pull request as ready for review October 12, 2026 12:12
@andreiborza
andreiborza requested a review from a team as a code owner October 12, 2026 12:12
@andreiborza
andreiborza requested review from chargome, isaacs and mydea and removed request for a team, isaacs and mydea October 12, 2026 12:12
@andreiborza
andreiborza merged commit 17a8a15 into develop Oct 12, 2026
543 of 547 checks passed
@andreiborza
andreiborza deleted the ab/vercel-ai-decide-spans branch October 12, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename Vercel AI experimental_decide spans from evaluate to decide

2 participants