Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -416,9 +416,9 @@ def run_action(purpose, task, history, action_name, action_input):
|
|
416 |
|
417 |
def run(purpose,history):
|
418 |
task=None
|
419 |
-
history = ""
|
420 |
-
|
421 |
-
|
422 |
action_name = "SEARCH_ENGINE" if task is None else "MAIN"
|
423 |
action_input = None
|
424 |
while True:
|
|
|
416 |
|
417 |
def run(purpose,history):
|
418 |
task=None
|
419 |
+
#history = ""
|
420 |
+
if not history:
|
421 |
+
history = ""
|
422 |
action_name = "SEARCH_ENGINE" if task is None else "MAIN"
|
423 |
action_input = None
|
424 |
while True:
|