Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
@@ -187,16 +187,17 @@ What information needs to be searched for on Google to help complete the task?
|
|
187 |
Query:"""
|
188 |
|
189 |
|
190 |
-
TASK_PROMPT = """
|
191 |
You are attempting to complete the task
|
192 |
task: {task}
|
193 |
Progress:
|
194 |
{history}
|
|
|
195 |
Tasks should involve coding and you should always ensure most-recent-version of the requested code files are provided to the user.
|
196 |
Do we need to use a search engine with our tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY?
|
197 |
What should the task be for us to achieve the purpose?
|
198 |
-
task: provide all encompassing code content as it pertains to the requests if any updates to the code are made, generate an updated version of the code file as progress is made
|
199 |
-
"""
|
200 |
|
201 |
READ_PROMPT = """
|
202 |
You are attempting to complete the task
|
|
|
187 |
Query:"""
|
188 |
|
189 |
|
190 |
+
TASK_PROMPT = """""
|
191 |
You are attempting to complete the task
|
192 |
task: {task}
|
193 |
Progress:
|
194 |
{history}
|
195 |
+
---
|
196 |
Tasks should involve coding and you should always ensure most-recent-version of the requested code files are provided to the user.
|
197 |
Do we need to use a search engine with our tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY?
|
198 |
What should the task be for us to achieve the purpose?
|
199 |
+
task: provide all encompassing code content as it pertains to the requests if any updates to the code are made, generate an updated version of the code file as progress is made (don't forget to clean up internal dialog and thoughts, but only where repetitive or unnecessary.)
|
200 |
+
"""""
|
201 |
|
202 |
READ_PROMPT = """
|
203 |
You are attempting to complete the task
|