Skip to content

Commit

Permalink
Fix ai_name not passed to Agent (Significant-Gravitas#3948)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Tindle <[email protected]>
  • Loading branch information
tmalahie and ntindle authored May 16, 2023
1 parent 517c080 commit 85fe6f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autogpt/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 85fe6f3

Please sign in to comment.