Skip to content

Commit 2ce8294

Browse files
authored
Merge pull request #156 from danielholanda/dholanda/fix_hfhub_breaking_change
Update `lemonade-server.mdx` to comply with new tiny-agents config format
2 parents fda25f2 + 10c681b commit 2ce8294

File tree

1 file changed

+22
-30
lines changed

1 file changed

+22
-30
lines changed

units/en/unit2/lemonade-server.mdx

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Lemonade Server supports CPU inference across all platforms and engines on Windo
6565

6666
### Tiny Agents and NPX Setup
6767

68-
This section of the course assumes you have already installed `npx` and `Tiny Agents`. If you haven't, please refer to the [Tiny Agents](https://huggingface.co/learn/mcp-course/en/unit2/tiny-agents) section of the course.
68+
This section of the course assumes you have already installed `npx` and `Tiny Agents`. If you haven't, please refer to the [Tiny Agents](https://huggingface.co/learn/mcp-course/en/unit2/tiny-agents) section of the course. Please make sure to use `huggingface_hub[mcp]==0.33.2`.
6969

7070
## Running your Tiny Agents application with AMD NPU and iGPU
7171

@@ -81,13 +81,11 @@ To run your Tiny Agents application with AMD NPU and iGPU, simply point to the M
8181
"servers": [
8282
{
8383
"type": "stdio",
84-
"config": {
85-
"command": "C:\\Program Files\\nodejs\\npx.cmd",
86-
"args": [
87-
"mcp-remote",
88-
"http://localhost:7860/gradio_api/mcp/sse"
89-
]
90-
}
84+
"command": "C:\\Program Files\\nodejs\\npx.cmd",
85+
"args": [
86+
"mcp-remote",
87+
"http://localhost:7860/gradio_api/mcp/sse"
88+
]
9189
}
9290
]
9391
}
@@ -103,13 +101,11 @@ To run your Tiny Agents application with AMD NPU and iGPU, simply point to the M
103101
"servers": [
104102
{
105103
"type": "stdio",
106-
"config": {
107-
"command": "npx",
108-
"args": [
109-
"mcp-remote",
110-
"http://localhost:7860/gradio_api/mcp/sse"
111-
]
112-
}
104+
"command": "npx",
105+
"args": [
106+
"mcp-remote",
107+
"http://localhost:7860/gradio_api/mcp/sse"
108+
]
113109
}
114110
]
115111
}
@@ -126,7 +122,7 @@ You can then choose from a variety of models to run on your local machine. For t
126122

127123
Now let's enhance our end-to-end application by enabling access to local files and introducing an assistant that processes sensitive information entirely on-device. Specifically, this assistant will help us evaluate candidate resumes and support decision-making in the hiring process—all while keeping the data private and secure.
128124

129-
To do this, we'll use the [Desktop Commander](https://github.com/wonderwhy-er/desktop-commander) MCP server, which allows you to run commands on your local machine and provides comprehensive file system access, terminal control, and code editing capabilities.
125+
To do this, we'll use the [Desktop Commander](https://github.com/wonderwhy-er/DesktopCommanderMCP) MCP server, which allows you to run commands on your local machine and provides comprehensive file system access, terminal control, and code editing capabilities.
130126

131127
Let's setup a project with a basic Tiny Agent.
132128

@@ -147,13 +143,11 @@ Let's then create a new `agent.json` file in the `file-assistant` folder.
147143
"servers": [
148144
{
149145
"type": "stdio",
150-
"config": {
151-
"command": "C:\\Program Files\\nodejs\\npx.cmd",
152-
"args": [
153-
"-y",
154-
"@wonderwhy-er/desktop-commander"
155-
]
156-
}
146+
"command": "C:\\Program Files\\nodejs\\npx.cmd",
147+
"args": [
148+
"-y",
149+
"@wonderwhy-er/desktop-commander"
150+
]
157151
}
158152
]
159153
}
@@ -169,13 +163,11 @@ Let's then create a new `agent.json` file in the `file-assistant` folder.
169163
"servers": [
170164
{
171165
"type": "stdio",
172-
"config": {
173-
"command": "npx",
174-
"args": [
175-
"-y",
176-
"@wonderwhy-er/desktop-commander"
177-
]
178-
}
166+
"command": "npx",
167+
"args": [
168+
"-y",
169+
"@wonderwhy-er/desktop-commander"
170+
]
179171
}
180172
]
181173
}

0 commit comments

Comments
 (0)