johann22 commited on
Commit
e04ac64
1 Parent(s): f45a376

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -313,7 +313,8 @@ NAME_TO_FUNC = {
313
 
314
 
315
  def run_action(purpose, task, history, directory, action_name, action_input):
316
- if "RESPONSE" in action_name:
 
317
  task="END"
318
  return action_name, action_input, history, task
319
 
 
313
 
314
 
315
  def run_action(purpose, task, history, directory, action_name, action_input):
316
+ if "RESPONSE" in action_name or "COMPLETE" in action_name:
317
+ action_name="COMPLETE"
318
  task="END"
319
  return action_name, action_input, history, task
320