mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 22:44:21 +01:00
Prints to console what the assistant wants to say
This commit is contained in:
@@ -272,6 +272,10 @@ def print_assistant_thoughts(ai_name, assistant_reply):
|
|||||||
# Speak the assistant's thoughts
|
# Speak the assistant's thoughts
|
||||||
if CFG.speak_mode and assistant_thoughts_speak:
|
if CFG.speak_mode and assistant_thoughts_speak:
|
||||||
say_text(assistant_thoughts_speak)
|
say_text(assistant_thoughts_speak)
|
||||||
|
else:
|
||||||
|
logger.typewriter_log(
|
||||||
|
"SPEAK:", Fore.YELLOW, f"{assistant_thoughts_speak}"
|
||||||
|
)
|
||||||
|
|
||||||
return assistant_reply_json
|
return assistant_reply_json
|
||||||
except json.decoder.JSONDecodeError:
|
except json.decoder.JSONDecodeError:
|
||||||
|
|||||||
Reference in New Issue
Block a user