johann22 commited on
Commit
e335db4
·
1 Parent(s): 3f4c14b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -143,6 +143,8 @@ def call_main(purpose, task, history, directory, action_input):
143
  history += "{}\n".format(line)
144
  if "COMPLETE" in action_name or "COMPLETE" in action_input:
145
  task = "END"
 
 
146
  return action_name, action_input, history, task
147
  else:
148
  return action_name, action_input, history, task
 
143
  history += "{}\n".format(line)
144
  if "COMPLETE" in action_name or "COMPLETE" in action_input:
145
  task = "END"
146
+ action_name, action_input, history, task = end_fn(purpose, task, history, directory, action_input)
147
+
148
  return action_name, action_input, history, task
149
  else:
150
  return action_name, action_input, history, task