Spaces:
Running
Running
Update app.py
Browse files
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 |
|