Skip to content

Commit 422d979

Browse files
authored
Update mcp-clients.mdx
import code refactor
1 parent db90490 commit 422d979

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

units/en/unit1/mcp-clients.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,8 @@ sepia: Apply a sepia filter to the input image.
277277
Now, let's see how we can use the MCP Client in a code agent.
278278

279279
```python
280-
from smolagents import ToolCollection, CodeAgent
280+
from smolagents import InferenceClientModel, CodeAgent, ToolCollection
281281
from mcp.client.stdio import StdioServerParameters
282-
from smolagents import CodeAgent, InferenceClientModel
283282

284283
model = InferenceClientModel()
285284

0 commit comments

Comments
 (0)