From 04189de9c552cf3852d00440dfafdedeab1e1ca8 Mon Sep 17 00:00:00 2001 From: Domenico Giambra Date: Sun, 16 Apr 2023 00:32:26 +0200 Subject: [PATCH] Prints to console what the assistant wants to say --- autogpt/logs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autogpt/logs.py b/autogpt/logs.py index a34d89b1..c644c5ea 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: