Fix ai_name not passed to Agent (#3948)

Co-authored-by: Nicholas Tindle <nick@ntindle.com>
This commit is contained in:
Malahieude Timothé
2023-05-16 06:20:14 +02:00
committed by GitHub
parent 517c080544
commit 85fe6f36c2

View File

@@ -149,6 +149,8 @@ def run_auto_gpt(
ai_name = ""
ai_config = construct_main_ai_config()
ai_config.command_registry = command_registry
if ai_config.ai_name:
ai_name = ai_config.ai_name
# print(prompt)
# Initialize variables
full_message_history = []