Update to Qwen inference model since current is returning a 400 error
Browse files
unit2/smolagents/tool_calling_agents.ipynb
CHANGED
|
@@ -550,9 +550,9 @@
|
|
| 550 |
}
|
| 551 |
],
|
| 552 |
"source": [
|
| 553 |
-
"from smolagents import ToolCallingAgent,
|
| 554 |
"\n",
|
| 555 |
-
"agent = ToolCallingAgent(tools=[
|
| 556 |
"\n",
|
| 557 |
"agent.run(\"Search for the best music recommendations for a party at the Wayne's mansion.\")"
|
| 558 |
]
|
|
|
|
| 550 |
}
|
| 551 |
],
|
| 552 |
"source": [
|
| 553 |
+
"from smolagents import ToolCallingAgent, DuckDuckGoSearchTool, InferenceClientModel\n",
|
| 554 |
"\n",
|
| 555 |
+
"agent = ToolCallingAgent(tools=[DuckDuckGoSearchTool()], model=InferenceClientModel("Qwen/Qwen2.5-72B-Instruct"))\n",
|
| 556 |
"\n",
|
| 557 |
"agent.run(\"Search for the best music recommendations for a party at the Wayne's mansion.\")"
|
| 558 |
]
|