From 51d9ca2e934933a398e3f548731730b6aa72ab94 Mon Sep 17 00:00:00 2001 From: Zhiyu Wang <121875294+zhiyu-01@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:05:09 +0800 Subject: [PATCH] Update camel/functions/web_search.py Co-authored-by: Guohao Li --- camel/functions/web_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camel/functions/web_search.py b/camel/functions/web_search.py index 4e1451750..3c140bf76 100644 --- a/camel/functions/web_search.py +++ b/camel/functions/web_search.py @@ -95,7 +95,7 @@ def search_google(query: str) -> List[Dict[str, Any]]: } responses.append(response) else: - responses.append({"erro": "google search failed."}) + responses.append({"error": "google search failed."}) except requests.RequestException: responses.append({"erro": "google search failed."})