Thanh Vinh Vo
commited on
Commit
·
1e7ef4b
1
Parent(s):
e8bf78e
update
Browse files
app.py
CHANGED
|
@@ -205,8 +205,7 @@ class BasicAgent:
|
|
| 205 |
self.code_agent = CodeAgent(
|
| 206 |
tools=[VisitWebpageTool(), GoogleSearchTool("serper"), get_file, audio_to_text],
|
| 207 |
model=InferenceClientModel(
|
| 208 |
-
model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
|
| 209 |
-
temperature=0.0,
|
| 210 |
),
|
| 211 |
additional_authorized_imports=[
|
| 212 |
"requests",
|
|
@@ -235,7 +234,7 @@ class BasicAgent:
|
|
| 235 |
- Solving chess problems.
|
| 236 |
- Parsing and extracting data from Wikipedia pages.
|
| 237 |
This agent follows rules below:
|
| 238 |
-
1. `wikipedia` Python
|
| 239 |
2. `pandas` Python package is provided, we should use it to extract table data from Wikipedia pages.
|
| 240 |
""",
|
| 241 |
verbosity_level=0,
|
|
@@ -244,8 +243,7 @@ class BasicAgent:
|
|
| 244 |
|
| 245 |
self.manager_agent = CodeAgent(
|
| 246 |
model=InferenceClientModel(
|
| 247 |
-
model_id="Qwen/Qwen2.5-32B-Instruct"
|
| 248 |
-
temperature=0.0,
|
| 249 |
),
|
| 250 |
tools=[get_file, audio_to_text],
|
| 251 |
managed_agents=[
|
|
|
|
| 205 |
self.code_agent = CodeAgent(
|
| 206 |
tools=[VisitWebpageTool(), GoogleSearchTool("serper"), get_file, audio_to_text],
|
| 207 |
model=InferenceClientModel(
|
| 208 |
+
model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
|
|
|
|
| 209 |
),
|
| 210 |
additional_authorized_imports=[
|
| 211 |
"requests",
|
|
|
|
| 234 |
- Solving chess problems.
|
| 235 |
- Parsing and extracting data from Wikipedia pages.
|
| 236 |
This agent follows rules below:
|
| 237 |
+
1. `wikipedia` Python package is provided, we should use it to search and retrieve Wikipedia pages.
|
| 238 |
2. `pandas` Python package is provided, we should use it to extract table data from Wikipedia pages.
|
| 239 |
""",
|
| 240 |
verbosity_level=0,
|
|
|
|
| 243 |
|
| 244 |
self.manager_agent = CodeAgent(
|
| 245 |
model=InferenceClientModel(
|
| 246 |
+
model_id="Qwen/Qwen2.5-32B-Instruct"
|
|
|
|
| 247 |
),
|
| 248 |
tools=[get_file, audio_to_text],
|
| 249 |
managed_agents=[
|