Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -344,7 +344,8 @@ def run(purpose,history):
|
|
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:
|
|
|
344 |
#print(hist)
|
345 |
task=None
|
346 |
directory="./"
|
347 |
+
if not history:
|
348 |
+
history = ""
|
349 |
action_name = "UPDATE-TASK" if task is None else "MAIN"
|
350 |
action_input = None
|
351 |
while True:
|