Skip to content

feat(server-utils): Record Workers AI Jev and Clef calls as gen_ai.decide spans - #25272

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

andreiborza merged 2 commits into
developfrom
ab/workers-ai-decide-spans

Conversation

@andreiborza

Copy link
Copy Markdown
Member

What

Workers AI calls to TypeSafe Jev and Cloudflare Clef models 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: #25250

@andreiborza
andreiborza marked this pull request as ready for review October 12, 2026 11:53
@andreiborza
andreiborza requested a review from a team as a code owner October 12, 2026 11:53
@andreiborza
andreiborza requested review from JPeer264, isaacs, mydea and nicohrubec and removed request for a team, isaacs and mydea October 12, 2026 11:53
@andreiborza
andreiborza merged commit c20e4f2 into develop Oct 12, 2026
279 checks passed
@andreiborza
andreiborza deleted the ab/workers-ai-decide-spans branch October 12, 2026 11:58
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 Workers AI Jev and Clef spans from evaluate to decide

2 participants