Tweaks welcome back prompt.

This commit is contained in:
Toran Bruce Richards
2023-04-03 11:35:08 +01:00
parent f426b51038
commit e50e826857

View File

@@ -171,15 +171,15 @@ def construct_prompt():
config = AIConfig.load() config = AIConfig.load()
if config.ai_name: if config.ai_name:
print_to_console( print_to_console(
f"Welcome back, {config.ai_name}!", f"Welcome back! ",
Fore.GREEN, Fore.GREEN,
"Let's continue our journey.", f"Would you like me to return to being {config.ai_name}?",
speak_text=True) speak_text=True)
should_continue = input(f"""Continue with the last settings? should_continue = input(f"""Continue with the last settings?
Name: {config.ai_name} Name: {config.ai_name}
Role: {config.ai_role} Role: {config.ai_role}
Goals: {config.ai_goals} Goals: {config.ai_goals}
Continue (Y/n): """) Continue (y/n): """)
if should_continue.lower() == "n": if should_continue.lower() == "n":
config = AIConfig() config = AIConfig()