Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -389,7 +389,7 @@ def run_action(purpose, task, history, action_name, action_input):
|
|
389 |
|
390 |
assert action_name in NAME_TO_FUNC
|
391 |
|
392 |
-
print("RUN:
|
393 |
return NAME_TO_FUNC[action_name](purpose, task, history, action_input)
|
394 |
else:
|
395 |
history += "observation: The TOOL I tried to use returned an error, I need to select a tool from: (UPDATE-TASK, SEARCH_ENGINE, WEBSITE_SCRAPE, COMPLETE)\n"
|
|
|
389 |
|
390 |
assert action_name in NAME_TO_FUNC
|
391 |
|
392 |
+
print(f"RUN: {action_name} ACTION_INPUT: {action_input}")
|
393 |
return NAME_TO_FUNC[action_name](purpose, task, history, action_input)
|
394 |
else:
|
395 |
history += "observation: The TOOL I tried to use returned an error, I need to select a tool from: (UPDATE-TASK, SEARCH_ENGINE, WEBSITE_SCRAPE, COMPLETE)\n"
|