Merge pull request #84 from leykun10/fix-doc-error

Replace undefined variable name in documentation code snippet
This commit is contained in:
Rohan Mehta 2025-03-12 13:31:12 -07:00 committed by GitHub
commit 3a95993753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,7 @@ async def main():
# San Francisco
# Second turn
new_input = output.to_input_list() + [{"role": "user", "content": "What state is it in?"}]
new_input = result.to_input_list() + [{"role": "user", "content": "What state is it in?"}]
result = await Runner.run(agent, new_input)
print(result.final_output)
# California