Skip to content

Commit

Permalink
Update camel/functions/web_search.py
Browse files Browse the repository at this point in the history
Co-authored-by: Guohao Li <[email protected]>
  • Loading branch information
zhiyu-01 and lightaime authored Sep 14, 2023
1 parent 9ecb3e4 commit 51d9ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camel/functions/web_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."})
Expand Down

0 comments on commit 51d9ca2

Please sign in to comment.