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.

Merge branch 'master' into ddg-search

Toran Bruce Richardse1cf66b79103
diff --cc requirements.txt
index 0fcdfb457d,7961106b6c..158e932419
--- a/requirements.txt
+++ b/requirements.txt
@@@ -7,6 -7,8 +7,7 @@@ pyyaml==6.
readability-lxml==0.8.1
requests
tiktoken==0.3.3
+ gTTS==2.3.1
docker
-googlesearch-python
+duckduckgo-search
- # Googlesearch python seems to be a bit cursed, anyone good at fixing thigns like this?
+ google-api-python-client #(https://developers.google.com/custom-search/v1/overview)
-# Googlesearch python seems to be a bit cursed, anyone good at fixing thigns like this?
diff --cc scripts/commands.py
index 2d98a2b287,ed789c8e92..f8f96fe72c
--- a/scripts/commands.py
+++ b/scripts/commands.py
@@@ -9,7 -9,10 +9,10 @@@ import ai_functions as a
from file_operations import read_file, write_to_file, append_to_file, delete_file
from execute_code import execute_python_file
from json_parser import fix_and_parse_json
-from googlesearch import search
+from duckduckgo_search import ddg
+ from googleapiclient.discovery import build
+ from googleapiclient.errors import HttpError
+
cfg = Config()