Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,10 @@ def call_main(purpose, task, history, directory, action_input):
|
|
150 |
else:
|
151 |
return action_name, action_input, history, task
|
152 |
else:
|
153 |
-
|
|
|
|
|
|
|
154 |
return "MAIN", None, history, task
|
155 |
|
156 |
|
|
|
150 |
else:
|
151 |
return action_name, action_input, history, task
|
152 |
else:
|
153 |
+
history += "observation: my last command caused this ERROR 'unknown action: {}'".format(line)
|
154 |
+
|
155 |
+
return action_name, action_input, history, task
|
156 |
+
#assert False, "unknown action: {}".format(line)
|
157 |
return "MAIN", None, history, task
|
158 |
|
159 |
|