We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca8a5be + 2acac3e commit d73c770Copy full SHA for d73c770
docs/tracing.md
@@ -50,7 +50,7 @@ async def main():
50
51
with trace("Joke workflow"): # (1)!
52
first_result = await Runner.run(agent, "Tell me a joke")
53
- second_result = await Runner.run(agent, f"Rate this joke: {first_output.final_output}")
+ second_result = await Runner.run(agent, f"Rate this joke: {first_result.final_output}")
54
print(f"Joke: {first_result.final_output}")
55
print(f"Rating: {second_result.final_output}")
56
```
0 commit comments