Skip to content

Commit 376c60f

Browse files
committed
typos
1 parent 83e7401 commit 376c60f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/platforms/python/tracing/instrumentation/custom-instrumentation/ai-agents-module.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_order: 500
44
description: "Learn how to manually instrument your code to use Sentry's Agents module."
55
---
66

7-
As a prerequisite to setting up AI Agents, you’ll need to first <PlatformLink to="/tracing/">set up tracing</PlatformLink>. Once this is done, the Python SDK will automatically instrument AI agents created with the `openai-agents` library. If that doesn't fit your use case, you can set up using custom instrumentation described below.
7+
As a prerequisite to setting up AI Agents, you’ll need to first <PlatformLink to="/tracing/">set up tracing</PlatformLink>. Once this is done, the Python SDK will automatically instrument AI agents created with the `openai-agents` library. If that doesn't fit your use case, you can use custom instrumentation described below.
88

99
## Manual Instrumentation
1010

@@ -89,7 +89,7 @@ Additional attributes on the span:
8989
| :------------------------ | :----- | :---------------- | :--------------------------------------------------- | :----------------------------------------- |
9090
| `gen_ai.tool.description` | string | optional | Description of the tool executed. | `"Tool returning a random number"` |
9191
| `gen_ai.tool.input` | string | optional | Input that was given to the executed tool as string. | `"{\"max\":10}"` |
92-
| `gen_ai.tool.name:` | string | optional | Name of the tool executed. | `"random_number"` |
92+
| `gen_ai.tool.name` | string | optional | Name of the tool executed. | `"random_number"` |
9393
| `gen_ai.tool.output` | string | optional | The output from the tool. | `"7"` |
9494
| `gen_ai.tool.type` | string | optional | The type of the tools. | `"function"`; `"extension"`; `"datastore"` |
9595

@@ -98,7 +98,7 @@ Additional attributes on the span:
9898
A span that describes the handoff from one agent to another agent.
9999

100100
- The spans `op` MUST be `"gen_ai.handoff"`.
101-
- The spans `name` SHOULD be `"handoff from {from_agent} to {from_agent}"`.
101+
- The spans `name` SHOULD be `"handoff from {from_agent} to {to_agent}"`.
102102
- All [Common Span Attributes](#common-span-attributes) SHOULD be set (all `required` common attributes MUST be set).
103103

104104
## Common Span Attributes

0 commit comments

Comments
 (0)