Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def call_main(purpose, task, history, directory, action_input):
|
|
150 |
else:
|
151 |
return action_name, action_input, history, task
|
152 |
else:
|
153 |
-
history += "observation:
|
154 |
|
155 |
#return action_name, action_input, history, task
|
156 |
#assert False, "unknown action: {}".format(line)
|
|
|
150 |
else:
|
151 |
return action_name, action_input, history, task
|
152 |
else:
|
153 |
+
history += "observation: the following command did not produce any useful output: '{}', I need to check the commands syntax, or use a different command\n".format(line)
|
154 |
|
155 |
#return action_name, action_input, history, task
|
156 |
#assert False, "unknown action: {}".format(line)
|