Skip to content

feat(gen_ai): Add details to gen_ai.request.messages - #122

Merged
ArthurKnaus merged 2 commits into
mainfrom
aknaus/feat/gen_ai/adding_details_to_gen_ai_request_messages
Sep 5, 2025
Merged

ArthurKnaus merged 2 commits into
mainfrom
aknaus/feat/gen_ai/adding_details_to_gen_ai_request_messages

Conversation

@ArthurKnaus

Copy link
Copy Markdown
Member

Update the description and example of gen_ai.request.messages to be more strict.
The role of a message must be one of "user", "assistant", "tool", or "system".
Added missing information about tool messages and more details regarding the object structure of message content.

@antonpirker antonpirker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, thanks for updating!

@ArthurKnaus
ArthurKnaus merged commit c20b728 into main Sep 5, 2025
@ArthurKnaus
ArthurKnaus deleted the aknaus/feat/gen_ai/adding_details_to_gen_ai_request_messages branch September 5, 2025 07:43
ArthurKnaus added a commit to getsentry/sentry-docs that referenced this pull request Sep 8, 2025
Add more details to `gen_ai.request.messages` span description.

- Relates to getsentry/sentry-conventions#122
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.

3 participants