Omnibus commited on
Commit
4ccf7b4
·
verified ·
1 Parent(s): 4118bca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -363,7 +363,7 @@ NAME_TO_FUNC = {
363
 
364
 
365
  def run_action(purpose, task, history, action_name, action_input,result):
366
- if action_name == "COMPLETE":
367
  print("Complete - Exiting")
368
  #exit(0)
369
  return "COMPLETE", None, history, task, result
 
363
 
364
 
365
  def run_action(purpose, task, history, action_name, action_input,result):
366
+ if "COMPLETE" in action_name:
367
  print("Complete - Exiting")
368
  #exit(0)
369
  return "COMPLETE", None, history, task, result