Mustafa-albakkar commited on
Commit
3afd7dc
·
verified ·
1 Parent(s): 63b82a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -229,7 +229,7 @@ tools: List[Tool] = [
229
  "- For videos: provide the link to the YouTube or MP4 file. e.g: video_url\n"
230
  "The tool will return a detailed description and a summary.")
231
  ),
232
- Tool(name="CoderAgent", func=coder_agent_proxy, description="Use this to generate or fix code and execute it, by providing it a discription of the needed code, don't code by yourself"
233
  ) ]
234
  # -------------------- Agent --------------------
235
  SYSTEM_INSTRUCTIONS = (
@@ -281,6 +281,7 @@ Notes:
281
  - Always use Observations from previous steps to inform the next Thought.
282
  - Do not repeat identical actions.
283
  - Always stop generation immediately after `<<END>>`.
 
284
  Begin.
285
  {agent_scratchpad}
286
  """
 
229
  "- For videos: provide the link to the YouTube or MP4 file. e.g: video_url\n"
230
  "The tool will return a detailed description and a summary.")
231
  ),
232
+ Tool(name="CoderAgent", func=coder_agent_proxy, description="Use this for logical problems to generate or fix code and execute it, by providing it a discription of the needed code, don't code by yourself"
233
  ) ]
234
  # -------------------- Agent --------------------
235
  SYSTEM_INSTRUCTIONS = (
 
281
  - Always use Observations from previous steps to inform the next Thought.
282
  - Do not repeat identical actions.
283
  - Always stop generation immediately after `<<END>>`.
284
+ try to use the appropriate tool for the needed goal.
285
  Begin.
286
  {agent_scratchpad}
287
  """