From f57e3cfecbbc9901d52ecb531aa6ed1f8ee85457 Mon Sep 17 00:00:00 2001 From: Domenico Giambra Date: Sun, 16 Apr 2023 00:27:16 +0200 Subject: [PATCH 1/2] Typo in prompt start - missing space resulted in joined words in the prompt --- autogpt/config/ai_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt/config/ai_config.py b/autogpt/config/ai_config.py index c72b088b..014e360f 100644 --- a/autogpt/config/ai_config.py +++ b/autogpt/config/ai_config.py @@ -100,7 +100,7 @@ class AIConfig: prompt_start = ( "Your decisions must always be made independently without" - "seeking user assistance. Play to your strengths as an LLM and pursue" + " seeking user assistance. Play to your strengths as an LLM and pursue" " simple strategies with no legal complications." "" ) From 04189de9c552cf3852d00440dfafdedeab1e1ca8 Mon Sep 17 00:00:00 2001 From: Domenico Giambra Date: Sun, 16 Apr 2023 00:32:26 +0200 Subject: [PATCH 2/2] 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: