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
Replace deprecated gen_ai.prompt with gen_ai.input.messages #22837
@sentry/conventions deprecates gen_ai.prompt in favor of gen_ai.input.messages. gen_ai.prompt holds a raw prompt string (legacy Anthropic Completions API); gen_ai.input.messages expects a stringified array of structured message objects ([{role, parts: [{type, content}]}]).
Entails wrapping the legacy prompt into the new structured message format and emitting it under the new attribute. Affects the Anthropic AI integration.
We can likely postpone this until after the major, if we do it at all, since there are still discussions about handling this in Relay.
Activity
linear-code commentedon Jul 29, 2026
JS-3222
mydea commentedon Oct 23, 2026
Done in #23410:
gen_ai.promptis no longer emitted, and legacy prompts are sent asgen_ai.input.messagesinstead. Closing.