We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18b10f1 + 9f93871 commit 912a625Copy full SHA for 912a625
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