Merge pull request #1730 from Zorinik/master

Typo in prompt start - missing space resulted in joined words in the prompt
This commit is contained in:
Richard Beales
2023-04-16 06:56:38 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -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."
""
)

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: