From 58af2c7d9fa70432c4f29443c35f95b44586baf8 Mon Sep 17 00:00:00 2001 From: LEE KYU WON Date: Fri, 19 Jul 2024 04:29:39 +0900 Subject: [PATCH] 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]