Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -321,7 +321,8 @@ def run_action(purpose, task, history, directory, action_name, action_input):
|
|
321 |
if VERBOSE:
|
322 |
print("COMPRESSING HISTORY")
|
323 |
history = compress_history(purpose, task, history, directory)
|
324 |
-
|
|
|
325 |
assert action_name in NAME_TO_FUNC
|
326 |
|
327 |
print("RUN: ", action_name, action_input)
|
|
|
321 |
if VERBOSE:
|
322 |
print("COMPRESSING HISTORY")
|
323 |
history = compress_history(purpose, task, history, directory)
|
324 |
+
if not action_name in NAME_TO_FUNC:
|
325 |
+
action_name="MAIN"
|
326 |
assert action_name in NAME_TO_FUNC
|
327 |
|
328 |
print("RUN: ", action_name, action_input)
|