Skip to content

Commit dedd5c8

Browse files
njbrakedaavoo
andauthored
Update tracing.md (#88)
* Update tracing.md * Update docs/tracing.md Co-authored-by: David de la Iglesia Castro <[email protected]> --------- Co-authored-by: David de la Iglesia Castro <[email protected]>
1 parent 8bee94f commit dedd5c8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/tracing.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ framework = AgentFramework("openai")
1616
setup_tracing(framework)
1717

1818
agent = AnyAgent.create(
19-
main_agent=AgentConfig(
20-
model_id="gpt-4o",
21-
tools=["any_agent.tools.search_web"]
22-
)
23-
)
19+
framework,
20+
AgentConfig(
21+
model_id="gpt-4o",
22+
tools=["any_agent.tools.search_web"]
23+
)
24+
)
2425
agent.run("Which agent framework is the best?")
2526
```
2627

0 commit comments

Comments
 (0)