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
feat(node): Update vercel ai integration attributes (#16721)
Make changes to the Vercel AI integration as per
https://www.notion.so/sentry/Agent-Monitoring-SDK-differences-21c8b10e4b5d80bcab51f72ae1418ea8
AI summary:
### Key Improvements:
1. **Eliminated duplicate attributes** - Tool call and prompt attributes
are now renamed instead of duplicated
2. **Added tool input/output support** - New `gen_ai.tool.input` and
`gen_ai.tool.output` attributes
3. **Auto-sets tool type** - Automatically adds `gen_ai.tool.type:
'function'` for tool calls
4. **Better OpenTelemetry compliance** - Cleaner attribute mapping
following semantic conventions
### Technical Changes:
- Uses `renameAttributeKey()` consistently instead of duplicating
attributes
- Removes old `ai.*` attributes after creating new `gen_ai.*` ones
0 commit comments