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.
Fixed error when google search contains funny characters
Jedakiah02db53e12fe1
diff --git a/autogpt/app.py b/autogpt/app.pyindex 0adfde5d5b..8d9cc9eeab 100644--- a/autogpt/app.py+++ b/autogpt/app.py@@ -105,9 +105,11 @@ def execute_command(command_name: str, arguments):# search methodkey = CFG.google_api_keyif key and key.strip() and key != "your-google-api-key":- return google_official_search(arguments["input"])+ google_result = google_official_search(arguments["input"])else:- return google_search(arguments["input"])+ google_result = google_search(arguments["input"])+ safe_message = google_result.encode('utf-8', 'ignore')+ return str(safe_message)elif command_name == "memory_add":return memory.add(arguments["string"])elif command_name == "start_agent":