johann22 commited on
Commit
4cb60ac
1 Parent(s): 03dbcc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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
- assert False, "unknown action: {}".format(line)
 
 
 
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