Skip to content

Commit dc9120b

Browse files
authored
Merge pull request #154 from Wauplin/update-tiny-agents-examplt
Update tiny-agents example
2 parents 7463b5f + 18c0363 commit dc9120b

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

units/en/unit1/mcp-clients.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,8 @@ Now, let's create an agent configuration file `agent.json`.
285285
"servers": [
286286
{
287287
"type": "stdio",
288-
"config": {
289-
"command": "npx",
290-
"args": ["@playwright/mcp@latest"]
291-
}
288+
"command": "npx",
289+
"args": ["@playwright/mcp@latest"]
292290
}
293291
]
294292
}

units/en/unit3_1/mcp-client.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,10 @@ Let's continue with the agent creation:
6666
servers=[
6767
{
6868
"type": "stdio",
69-
"config": {
70-
"command": "python",
71-
"args": ["mcp_server.py"],
72-
"cwd": ".",
73-
"env": {"HF_TOKEN": HF_TOKEN} if HF_TOKEN else {},
74-
},
69+
"command": "python",
70+
"args": ["mcp_server.py"],
71+
"cwd": ".",
72+
"env": {"HF_TOKEN": HF_TOKEN} if HF_TOKEN else {},
7573
}
7674
],
7775
)

0 commit comments

Comments
 (0)