mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 06:24:20 +01:00
Tweaks welcome back prompt.
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user