Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,8 @@ def call_main(purpose, task, history, directory, action_input):
|
|
140 |
else:
|
141 |
return action_name, action_input, history, task
|
142 |
else:
|
143 |
-
history += "
|
|
|
144 |
|
145 |
#return action_name, action_input, history, task
|
146 |
#assert False, "unknown action: {}".format(line)
|
|
|
140 |
else:
|
141 |
return action_name, action_input, history, task
|
142 |
else:
|
143 |
+
history += "{}\n".format(line)
|
144 |
+
#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)
|
145 |
|
146 |
#return action_name, action_input, history, task
|
147 |
#assert False, "unknown action: {}".format(line)
|