Fix tool calling model in unit2/tool_calling_agents

#135
unit2/smolagents/tool_calling_agents.ipynb CHANGED
@@ -552,7 +552,8 @@
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
  ]
@@ -593,4 +594,4 @@
593
  },
594
  "nbformat": 4,
595
  "nbformat_minor": 0
596
- }
 
552
  "source": [
553
  "from smolagents import ToolCallingAgent, WebSearchTool, InferenceClientModel\n",
554
  "\n",
555
+ "model = InferenceClientModel(model_id=\"Qwen/Qwen2.5-Coder-32B-Instruct\")\n",
556
+ "agent = ToolCallingAgent(tools=[WebSearchTool()], model=model)\n",
557
  "\n",
558
  "agent.run(\"Search for the best music recommendations for a party at the Wayne's mansion.\")"
559
  ]
 
594
  },
595
  "nbformat": 4,
596
  "nbformat_minor": 0
597
+ }