From 8fc459070a8f1b07f07dece56438e39232484f2c Mon Sep 17 00:00:00 2001
From: Jerry Liu <jerryjliu98@gmail.com>
Date: Wed, 10 Apr 2024 06:50:51 -0700
Subject: [PATCH] return_direct notebook nits  (#12691)

cr
---
 docs/docs/examples/agent/return_direct_agent.ipynb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/docs/examples/agent/return_direct_agent.ipynb b/docs/docs/examples/agent/return_direct_agent.ipynb
index f5ef5be32d..734bf4b5ac 100644
--- a/docs/docs/examples/agent/return_direct_agent.ipynb
+++ b/docs/docs/examples/agent/return_direct_agent.ipynb
@@ -6,16 +6,16 @@
    "source": [
     "# Controlling Agent Reasoning Loop with Return Direct Tools\n",
     "\n",
-    "All tools have an option for `return_direct` -- if this is set to `True`, and the associated tool is called (without any other tools being called), the agent resoning loop is ended and the tool output is returned directly.\n",
+    "All tools have an option for `return_direct` -- if this is set to `True`, and the associated tool is called (without any other tools being called), the agent reasoning loop is ended and the tool output is returned directly.\n",
     "\n",
-    "This can be useful for speeding up resonse times when you know the tool output is good enough, to avoid the agent re-writing the response, and for ending the resoning loop."
+    "This can be useful for speeding up response times when you know the tool output is good enough, to avoid the agent re-writing the response, and for ending the reasoning loop."
    ]
   },
   {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "This notebook walks through a notebook where an agent needs to gather information from a user in order to make a resturant booking."
+    "This notebook walks through a notebook where an agent needs to gather information from a user in order to make a restaurant booking."
    ]
   },
   {
@@ -127,7 +127,7 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "## A user has walked in! Lets help them make a booking"
+    "## A user has walked in! Let's help them make a booking"
    ]
   },
   {
-- 
GitLab