Skip to content

feat(server-utils): Map Mastra classifier evaluations to gen_ai.decide spans - #25281

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

andreiborza merged 2 commits into
developfrom
ab/mastra-decide-spans

Conversation

@andreiborza

Copy link
Copy Markdown
Member

What

Mastra classifier evaluations 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: #25252

…e spans

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andreiborza
andreiborza marked this pull request as ready for review October 12, 2026 12:21
@andreiborza
andreiborza requested a review from a team as a code owner October 12, 2026 12:21
@andreiborza
andreiborza requested review from chargome, isaacs, mydea and nicohrubec and removed request for a team, isaacs and mydea October 12, 2026 12:21
@andreiborza
andreiborza merged commit 9f7cbad into develop Oct 12, 2026
282 checks passed
@andreiborza
andreiborza deleted the ab/mastra-decide-spans branch October 12, 2026 13:49
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.

Map Mastra classifier_evaluation spans to gen_ai.decide

2 participants