Thanh Vinh Vo commited on
Commit
6fd67c0
·
1 Parent(s): ef92d43
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -235,8 +235,8 @@ class BasicAgent:
235
  - Solving chess problems.
236
  - Parsing and extracting data from Wikipedia pages.
237
  This agent follows rules below:
238
- 1. `wikipedia` Python library is provided, we should use it to interact with Wikipedia pages.
239
- 2. `pandas` Python package is provided, we should use it to extract table data from Wikipedia HTML pages.
240
  """,
241
  verbosity_level=0,
242
  max_steps=10,
@@ -247,13 +247,11 @@ class BasicAgent:
247
  model_id="Qwen/Qwen2.5-32B-Instruct",
248
  temperature=0.0,
249
  ),
250
- tools=[VisitWebpageTool(), GoogleSearchTool("serper"), get_file, audio_to_text, extract_table_from_html],
251
  managed_agents=[
252
  self.multimodal_agent,
253
  self.code_agent],
254
  additional_authorized_imports=[
255
- "markdownify",
256
- "wikipedia",
257
  "pandas"
258
  ],
259
  planning_interval=5,
 
235
  - Solving chess problems.
236
  - Parsing and extracting data from Wikipedia pages.
237
  This agent follows rules below:
238
+ 1. `wikipedia` Python library is provided, we should use it to search and retrieve Wikipedia pages.
239
+ 2. `pandas` Python package is provided, we should use it to extract table data from Wikipedia pages.
240
  """,
241
  verbosity_level=0,
242
  max_steps=10,
 
247
  model_id="Qwen/Qwen2.5-32B-Instruct",
248
  temperature=0.0,
249
  ),
250
+ tools=[get_file, audio_to_text],
251
  managed_agents=[
252
  self.multimodal_agent,
253
  self.code_agent],
254
  additional_authorized_imports=[
 
 
255
  "pandas"
256
  ],
257
  planning_interval=5,