From 21df5f5e1ef5b5eb1661750f261dad2f2bfe4bb3 Mon Sep 17 00:00:00 2001 From: MuhammadHassaanArain Date: Sat, 12 Jul 2025 10:52:07 +0500 Subject: [PATCH] Fix: Correct comment order when popping session items --- docs/sessions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sessions.md b/docs/sessions.md index 8906f0e6d..956712438 100644 --- a/docs/sessions.md +++ b/docs/sessions.md @@ -101,8 +101,8 @@ result = await Runner.run( print(f"Agent: {result.final_output}") # User wants to correct their question -user_item = await session.pop_item() # Remove user's question assistant_item = await session.pop_item() # Remove agent's response +user_item = await session.pop_item() # Remove user's question # Ask a corrected question result = await Runner.run(