Repository navigation
Conversation
List only the gen_ai attributes Sentry and Relay read, with a description of each. Drop requirement levels, deprecated attributes, and attributes Relay derives during ingestion. Add decision, memory, and handoff spans, the span hierarchy, and common rules for conversation IDs, errors, and data collection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
| | `gen_ai.agent.name` | string | The agent's name. Powers the agent filter and grouping in Agents insights, the agent flow in Conversations, and span titles. | `"Weather Agent"` | | ||
| | `gen_ai.input.messages` | string | The messages the agent received. Sentry uses them for the conversation preview and transcript when the child model spans don't carry messages. **[0]** | `'[{"role": "user", "parts": [{"type": "text", "content": "..."}]}]'` | | ||
| | `gen_ai.output.messages` | string | The agent's final response. Used the same way as the input messages. **[0]** | `'[{"role": "assistant", "parts": [{"type": "text", "content": "..."}]}]'` | | ||
| | `gen_ai.tool.definitions` | string | The tools available to the agent, as a JSON array of name and description objects. Shown as **Available Tools** in the span details. Omit it when the agent has no tools. | `'[{"name": "get_weather", "description": "..."}]'` | |
There was a problem hiding this comment.
Not doing a full review now.
This immediately stands out because available tools are provided on a per-call basis.
A similar caveat to what OTel has for setting gen_ai.request.model on Invoke Agent spans applies
This attribute SHOULD be populated if and only if the instrumented library allows to set only a single model per agent. . It SHOULD NOT be populated for agents that support multiple models or dynamic selection.
All libraries we instrument in Python allow dynamic tool configuration during an agent execution.
As a result, we don't set gen_ai.tool.definitions on Invoke Agent spans in Python.
I know that this doesn't work nicely with the product today, so we should discuss how to resolve this conflict.
Co-authored-by: Andrei <168741329+andreiborza@users.noreply.github.com>
SDKs no longer drop earlier messages from gen_ai.input.messages. Replace the trimming rule with guidance to send every message the model received. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
No description provided.