Thanh Vinh Vo
commited on
Commit
·
abcce25
1
Parent(s):
85bdfa3
update
Browse files
app.py
CHANGED
|
@@ -216,9 +216,7 @@ class BasicAgent:
|
|
| 216 |
)
|
| 217 |
|
| 218 |
self.manager_agent = CodeAgent(
|
| 219 |
-
model=InferenceClientModel(
|
| 220 |
-
"Qwen/Qwen2.5-32B-Instruct"
|
| 221 |
-
),
|
| 222 |
tools=[get_file, audio_to_text],
|
| 223 |
managed_agents=[
|
| 224 |
self.multimodal_agent],
|
|
@@ -251,7 +249,7 @@ class BasicAgent:
|
|
| 251 |
Follow below rules when possible:
|
| 252 |
1. Please take the question literally! Do not add any additional information or assumptions.
|
| 253 |
2. Please answer as concisely as possible.
|
| 254 |
-
3. If the question asks for a number, please return a numerical answer without unit (unless unit is specifically asked for). For example: 3 instead of three, 3 instead of $3.
|
| 255 |
"""
|
| 256 |
result = self.manager_agent.run(prompt)
|
| 257 |
print(f"Agent responded with: {result}")
|
|
|
|
| 216 |
)
|
| 217 |
|
| 218 |
self.manager_agent = CodeAgent(
|
| 219 |
+
model=InferenceClientModel(),
|
|
|
|
|
|
|
| 220 |
tools=[get_file, audio_to_text],
|
| 221 |
managed_agents=[
|
| 222 |
self.multimodal_agent],
|
|
|
|
| 249 |
Follow below rules when possible:
|
| 250 |
1. Please take the question literally! Do not add any additional information or assumptions.
|
| 251 |
2. Please answer as concisely as possible.
|
| 252 |
+
3. If the question asks for a number, please return a numerical answer without unit (unless unit is specifically asked for). For example: 3 instead of three, 0 instead of None, 3 instead of $3.
|
| 253 |
"""
|
| 254 |
result = self.manager_agent.run(prompt)
|
| 255 |
print(f"Agent responded with: {result}")
|