From 4fb9aefdd876d39a72ca11ac3de395b139c67e85 Mon Sep 17 00:00:00 2001 From: leykun10 Date: Wed, 12 Mar 2025 15:07:56 +0300 Subject: [PATCH] fix: replace undefined variable name in documentation code snippet --- docs/running_agents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/running_agents.md b/docs/running_agents.md index a2f137c..32abf9d 100644 --- a/docs/running_agents.md +++ b/docs/running_agents.md @@ -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