We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db90490 commit 422d979Copy full SHA for 422d979
units/en/unit1/mcp-clients.mdx
@@ -277,9 +277,8 @@ sepia: Apply a sepia filter to the input image.
277
Now, let's see how we can use the MCP Client in a code agent.
278
279
```python
280
-from smolagents import ToolCollection, CodeAgent
+from smolagents import InferenceClientModel, CodeAgent, ToolCollection
281
from mcp.client.stdio import StdioServerParameters
282
-from smolagents import CodeAgent, InferenceClientModel
283
284
model = InferenceClientModel()
285
0 commit comments