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.
Logs output to console if we're not on speak mode (#3715)
Zorinik19767ca4a4d1
diff --git a/autogpt/logs.py b/autogpt/logs.pyindex 120db39d95..f14267fcae 100644--- a/autogpt/logs.py+++ b/autogpt/logs.py@@ -287,5 +287,8 @@ def print_assistant_thoughts(logger.typewriter_log("- ", Fore.GREEN, line.strip())logger.typewriter_log("CRITICISM:", Fore.YELLOW, f"{assistant_thoughts_criticism}")# Speak the assistant's thoughts- if speak_mode and assistant_thoughts_speak:- say_text(assistant_thoughts_speak)+ if assistant_thoughts_speak:+ if speak_mode:+ say_text(assistant_thoughts_speak)+ else:+ logger.typewriter_log("SPEAK:", Fore.YELLOW, f"{assistant_thoughts_speak}")