Prints to console what the assistant wants to say

This commit is contained in:
Domenico Giambra
2023-04-16 00:32:26 +02:00
parent f57e3cfecb
commit 04189de9c5

View File

@@ -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: