Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -277,11 +277,18 @@ You are attempting to complete the task
|
|
277 |
task: {task}
|
278 |
Progress:
|
279 |
{history}
|
280 |
-
|
281 |
-
|
|
|
282 |
Tasks should be small, isolated, and independent
|
283 |
What should the task be for us to achieve the purpose?
|
284 |
-
task:
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
|
286 |
READ_PROMPT = """
|
287 |
You are attempting to complete the task
|
|
|
277 |
task: {task}
|
278 |
Progress:
|
279 |
{history}
|
280 |
+
|
281 |
+
We can choose to either set a task or run an action.
|
282 |
+
|
283 |
Tasks should be small, isolated, and independent
|
284 |
What should the task be for us to achieve the purpose?
|
285 |
+
task:
|
286 |
+
|
287 |
+
--or--
|
288 |
+
|
289 |
+
We should run an Internet Search:
|
290 |
+
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
291 |
+
"""
|
292 |
|
293 |
READ_PROMPT = """
|
294 |
You are attempting to complete the task
|