Fix error in example

This commit is contained in:
LEE KYU WON
2024-07-19 04:29:39 +09:00
committed by GitHub
parent 95a4a55849
commit 58af2c7d9f
+2 -2
View File
@@ -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]