anushaacharya commited on
Commit
32be90d
·
verified ·
1 Parent(s): f0c0b63

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, WebSearchTool, InferenceClientModel\n",
554
  "\n",
555
- "agent = ToolCallingAgent(tools=[WebSearchTool()], model=InferenceClientModel())\n",
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
  ]