Repository navigation
feat(attributes): Add missing AI legacy aliases from Relay SpanData - #498
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
| "changelog": [ | ||
| { | ||
| "version": "next", | ||
| "prs": [497], |
There was a problem hiding this comment.
The PR numbers are wrong, this is pr 498
- ai.model_id: change replacement from gen_ai.response.model to gen_ai.request.model (matching Relay's behavior) - gen_ai.prompt: add missing replacement and backfill status - Fix PR number 497 → 498 in all new attribute changelogs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 780f25b. Configure here.
|
PR iteration only works on pull requests created by Seer's Autofix agent. PRs that the Autofix Agent didn't create aren't eligible. This includes PRs created by the Coding Agent handoff and unrelated human PRs. |

Summary
Adds 6 deprecated AI attribute aliases that exist as
legacy_aliasin Relay'sSpanDatabut were missing from sentry-conventions:ai.prompt.messages→gen_ai.input.messagesai.toolCall.args→gen_ai.tool.call.argumentsai.toolCall.result→gen_ai.tool.call.resultai.response.toolCalls→gen_ai.output.messagesai.response.text→gen_ai.output.messagesgen_ai.response.finish_reason→gen_ai.response.finish_reasons