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.

changed break for continue

Manuel Otheo57ee84437ba8
diff --git a/autogpt/agent/agent.py b/autogpt/agent/agent.py
index 89ea2c8c4c..58c7840b35 100644
--- a/autogpt/agent/agent.py
+++ b/autogpt/agent/agent.py
@@ -120,7 +120,7 @@ class Agent:
break
elif console_input.lower().strip() == "":
print("Invalid input format.")
- break
+ continue
elif console_input.lower().startswith("y -"):
try:
self.next_action_count = abs(