From 5b3a703ad9d03505c43206e9d7123b9681ac784c Mon Sep 17 00:00:00 2001 From: Jai0401 <21cs3025@rgipt.ac.in> Date: Tue, 11 Mar 2025 23:53:45 +0530 Subject: [PATCH 1/2] fix: correct typo in README regarding tool responses --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fa57528f0..06603abd4 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ When you call `Runner.run()`, we run a loop until we get a final output. 2. The LLM returns a response, which may include tool calls. 3. If the response has a final output (see below for the more on this), we return it and end the loop. 4. If the response has a handoff, we set the agent to the new agent and go back to step 1. -5. We process the tool calls (if any) and append the tool responses messsages. Then we go to step 1. +5. We process the tool calls (if any) and append the tool responses messages. Then we go to step 1. There is a `max_turns` parameter that you can use to limit the number of times the loop executes. From c80c6ef185723a82005eee1c29dec68041a10494 Mon Sep 17 00:00:00 2001 From: Jai0401 <21cs3025@rgipt.ac.in> Date: Tue, 11 Mar 2025 23:59:23 +0530 Subject: [PATCH 2/2] fix: correct wording in README for clarity on response handling --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 06603abd4..4f1a10c9e 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ When you call `Runner.run()`, we run a loop until we get a final output. 1. We call the LLM, using the model and settings on the agent, and the message history. 2. The LLM returns a response, which may include tool calls. -3. If the response has a final output (see below for the more on this), we return it and end the loop. +3. If the response has a final output (see below for more on this), we return it and end the loop. 4. If the response has a handoff, we set the agent to the new agent and go back to step 1. 5. We process the tool calls (if any) and append the tool responses messages. Then we go to step 1.