Skip to content

Commit

Permalink
Merge pull request #2050 from tzengyuxio/master
Browse files Browse the repository at this point in the history
fix: unreadable text in console and potentially over the max token
  • Loading branch information
richbeales committed Apr 17, 2023
2 parents e849e4f + da72e69 commit e40d6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,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":
memory = get_memory(CFG)
return memory.add(arguments["string"])
Expand Down

0 comments on commit e40d6f3

Please sign in to comment.