johann22 commited on
Commit
66a4bcc
1 Parent(s): a65e22e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: my last command caused an ERROR, I need to check the commands syntax, or use a different command\n"
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)