mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix: unreadable text in console and potentially over the max token
This commit is contained in:
@@ -133,7 +133,7 @@ def execute_command(command_name: str, arguments):
|
||||
else:
|
||||
safe_message = google_result.encode('utf-8', 'ignore')
|
||||
|
||||
return str(safe_message)
|
||||
return safe_message.decode('utf-8')
|
||||
elif command_name == "memory_add":
|
||||
return memory.add(arguments["string"])
|
||||
elif command_name == "start_agent":
|
||||
|
||||
Reference in New Issue
Block a user