Merge pull request #108 from dingkwang/main

Bug #107. fix typo in tracing.md
This commit is contained in:
Dmitry Pimenov 2025-03-12 15:03:55 -07:00 committed by GitHub
commit 912a625915
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,7 +50,7 @@ async def main():
with trace("Joke workflow"): # (1)!
first_result = await Runner.run(agent, "Tell me a joke")
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}")
print(f"Joke: {first_result.final_output}")
print(f"Rating: {second_result.final_output}")
```