johann22 commited on
Commit
bdadc5f
1 Parent(s): eaab070

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 += "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)
 
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)