Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -338,13 +338,13 @@ def run_action(purpose, task, history, directory, action_name, action_input):
|
|
338 |
|
339 |
return "MAIN", None, history, task
|
340 |
|
341 |
-
def run(purpose,
|
342 |
|
343 |
print(purpose)
|
344 |
print(hist)
|
345 |
task=None
|
346 |
directory="./"
|
347 |
-
history = ""
|
348 |
action_name = "UPDATE-TASK" if task is None else "MAIN"
|
349 |
action_input = None
|
350 |
while True:
|
|
|
338 |
|
339 |
return "MAIN", None, history, task
|
340 |
|
341 |
+
def run(purpose,history):
|
342 |
|
343 |
print(purpose)
|
344 |
print(hist)
|
345 |
task=None
|
346 |
directory="./"
|
347 |
+
#history = ""
|
348 |
action_name = "UPDATE-TASK" if task is None else "MAIN"
|
349 |
action_input = None
|
350 |
while True:
|