Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -301,7 +301,7 @@ NAME_TO_FUNC = {
|
|
| 301 |
|
| 302 |
|
| 303 |
def run_action(purpose, task, history, directory, action_name, action_input):
|
| 304 |
-
if "
|
| 305 |
task="END"
|
| 306 |
return action_name, action_input, history, task
|
| 307 |
|
|
|
|
| 301 |
|
| 302 |
|
| 303 |
def run_action(purpose, task, history, directory, action_name, action_input):
|
| 304 |
+
if "RESPONSE" in action_name:
|
| 305 |
task="END"
|
| 306 |
return action_name, action_input, history, task
|
| 307 |
|