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.

Prints to console what the assistant wants to say

Domenico Giambra04189de9c552
diff --git a/autogpt/logs.py b/autogpt/logs.py
index a34d89b1b0..c644c5eae6 100644
--- a/autogpt/logs.py
+++ b/autogpt/logs.py
@@ -272,6 +272,10 @@ def print_assistant_thoughts(ai_name, assistant_reply):
# Speak the assistant's thoughts
if CFG.speak_mode and assistant_thoughts_speak:
say_text(assistant_thoughts_speak)
+ else:
+ logger.typewriter_log(
+ "SPEAK:", Fore.YELLOW, f"{assistant_thoughts_speak}"
+ )
return assistant_reply_json
except json.decoder.JSONDecodeError: