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
Rename Workers AI Jev and Clef spans from evaluate to decide #25250
The Workers AI integration makes evaluate spans for the evaluation models (TypeSafe Jev typesafe/jev* and Cloudflare Clef @cf/cloudflare/clef*). It detects them by model ID.
Target span
Name: decide <model> (was evaluate <model>)
Op: gen_ai.decide (was gen_ai.evaluate)
gen_ai.operation.name: decide (was evaluate)
No other change. gen_ai.input.messages / gen_ai.output.messages keep type: 'evaluation'.
Scope
packages/server-utils/src/ai/workers-ai/utils.ts (operation name type, op map, model prefix detection).
Update the tests: cloudflare-integration-tests suite workers-ai; unit test test/ai/lib/tracing/workers-ai.test.ts; e2e app cloudflare-workers-send-to-sentry.
Activity
linear-code commentedon Oct 12, 2026
JS-3910
feat(server-utils): Record Workers AI Jev and Clef calls as gen_ai.de…
github-actions commentedon Oct 12, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #25272, which was included in the 11.7.0 release.