Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fixes google search command.

Toran Bruce Richards6a0a1355f001
diff --git a/scripts/commands.py b/scripts/commands.py
index 65b273f5b2..90ccf14c0e 100644
--- a/scripts/commands.py
+++ b/scripts/commands.py
@@ -102,7 +102,7 @@ def get_datetime():
def google_search(query, num_results=8):
search_results = []
- for j in browse.search(query, num_results=num_results):
+ for j in search(query, num_results=num_results):
search_results.append(j)
return json.dumps(search_results, ensure_ascii=False, indent=4)