Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

hotfix user input

Merwane Hamadi1513be4acdcc
diff --git a/autogpt/agent/agent.py b/autogpt/agent/agent.py
index 9853f6a0b1..dca614c7f2 100644
--- a/autogpt/agent/agent.py
+++ b/autogpt/agent/agent.py
@@ -55,6 +55,8 @@ class Agent:
loop_count = 0
command_name = None
arguments = None
+ user_input = ""
+
while True:
# Discontinue if continuous limit is reached
loop_count += 1
@@ -97,7 +99,6 @@ class Agent:
### GET USER AUTHORIZATION TO EXECUTE COMMAND ###
# Get key press: Prompt the user to press enter to continue or escape
# to exit
- user_input = ""
logger.typewriter_log(
"NEXT ACTION: ",
Fore.CYAN,