acecalisto3 commited on
Commit
8c8d060
·
verified ·
1 Parent(s): a8ca3e5

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +6 -5
agent.py CHANGED
@@ -106,7 +106,7 @@ action: INTEGRATE-CODE
106
  action: TEST-APP
107
  action: GENERATE-REPORT
108
  Instructions
109
- Choose a search engine to use
110
  Submit a code generation request to the super-intelligent developer with your tool action: CODEGEN action_input=CODE_SNIPPET
111
  You can find a list of code snippets using your tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
112
  Read the content of the code snippet and verify its functionality using your tool action: CODEGEN action_input=CODE_SNIPPET
@@ -165,7 +165,7 @@ thought: you should always think about what to do next, but use your SEARCH tool
165
  action: the action to take (should be one of [UPDATE-TASK, SEARCH, COMPLETE]) action_input=XXX
166
  observation: the result of the action
167
  thought: you can find more information on the internet, try using a search engine
168
- ... (thought/action/observation/thought can repeat 0 times, and must end with action)
169
  You are attempting to complete the task
170
  task: {task}
171
  {history}"""
@@ -192,10 +192,10 @@ 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
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 Ant 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.}
199
  """
200
 
201
  READ_PROMPT = """
@@ -249,7 +249,7 @@ STDERR
249
  {stderr}
250
  ---
251
  Describe why the tests failed and how to fix them (in a paragraph)
252
- """
253
 
254
 
255
  COMPRESS_HISTORY_PROMPT = """
@@ -269,6 +269,7 @@ PROMPT
269
  """
270
 
271
  LOG_RESPONSE = """
 
272
  RESPONSE
273
  **************************************
274
  {}
 
106
  action: TEST-APP
107
  action: GENERATE-REPORT
108
  Instructions
109
+ Choose a search engine to use like https://www.alltheinternet.com or https://www.phind.com
110
  Submit a code generation request to the super-intelligent developer with your tool action: CODEGEN action_input=CODE_SNIPPET
111
  You can find a list of code snippets using your tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
112
  Read the content of the code snippet and verify its functionality using your tool action: CODEGEN action_input=CODE_SNIPPET
 
165
  action: the action to take (should be one of [UPDATE-TASK, SEARCH, COMPLETE]) action_input=XXX
166
  observation: the result of the action
167
  thought: you can find more information on the internet, try using a search engine
168
+ ... (thought/action/observation/codegen/test/action+codegen can repeat 0 times, and must end with action)
169
  You are attempting to complete the task
170
  task: {task}
171
  {history}"""
 
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. don't forget to clean up internal dialog and thoughts, but only where repetitive or unnecessary.
199
  """
200
 
201
  READ_PROMPT = """
 
249
  {stderr}
250
  ---
251
  Describe why the tests failed and how to fix them (in a paragraph)
252
+ """"
253
 
254
 
255
  COMPRESS_HISTORY_PROMPT = """
 
269
  """
270
 
271
  LOG_RESPONSE = """
272
+ format: {format}
273
  RESPONSE
274
  **************************************
275
  {}