From 58af2c7d9fa70432c4f29443c35f95b44586baf8 Mon Sep 17 00:00:00 2001 From: LEE KYU WON Date: Fri, 19 Jul 2024 04:29:39 +0900 Subject: [PATCH 1/2] Fix error in example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 46e014b7c..10cd6932b 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,8 @@ def search(query: str): """Call to surf the web.""" # This is a placeholder, but don't tell the LLM that... if "sf" in query.lower() or "san francisco" in query.lower(): - return ["It's 60 degrees and foggy."] - return ["It's 90 degrees and sunny."] + return "It's 60 degrees and foggy." + return "It's 90 degrees and sunny." tools = [search] From b3e44bed220de72138b6d20f18730e32c7d8028c Mon Sep 17 00:00:00 2001 From: LEE KYU WON Date: Sun, 21 Jul 2024 18:14:01 +0900 Subject: [PATCH 2/2] Fix example error --- libs/langgraph/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langgraph/README.md b/libs/langgraph/README.md index 46e014b7c..10cd6932b 100644 --- a/libs/langgraph/README.md +++ b/libs/langgraph/README.md @@ -73,8 +73,8 @@ def search(query: str): """Call to surf the web.""" # This is a placeholder, but don't tell the LLM that... if "sf" in query.lower() or "san francisco" in query.lower(): - return ["It's 60 degrees and foggy."] - return ["It's 90 degrees and sunny."] + return "It's 60 degrees and foggy." + return "It's 90 degrees and sunny." tools = [search]