Skip to content

Commit c517486

Browse files
authored
Merge pull request openai#84 from leykun10/fix-doc-error
Replace undefined variable name in documentation code snippet
2 parents 94bdad6 + d152c9c commit c517486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/running_agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async def main():
7878
# San Francisco
7979

8080
# Second turn
81-
new_input = output.to_input_list() + [{"role": "user", "content": "What state is it in?"}]
81+
new_input = result.to_input_list() + [{"role": "user", "content": "What state is it in?"}]
8282
result = await Runner.run(agent, new_input)
8383
print(result.final_output)
8484
# California

0 commit comments

Comments
 (0)