Skip to content

Commit 391da5d

Browse files
authored
Merge pull request #162 from WilliamRabuel/patch-1
Fix Tiny Agents setup on Windows and JSON schema errors
2 parents 17d4ecd + 1c92dc2 commit 391da5d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

units/en/unit2/tiny-agents.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Let's setup a project with a basic Tiny Agent.
6565
```bash
6666
mkdir my-agent
6767
touch my-agent/agent.json
68+
cd my-agent
6869
```
6970

7071
The JSON file will look like this:
@@ -79,7 +80,7 @@ The JSON file will look like this:
7980
"command": "npx",
8081
"args": [
8182
"mcp-remote",
82-
"http://localhost:7860/gradio_api/mcp/sse" // This is the MCP Server we created in the previous section
83+
"http://localhost:7860/gradio_api/mcp/sse"
8384
]
8485
}
8586
]
@@ -89,7 +90,7 @@ The JSON file will look like this:
8990
We can then run the agent with the following command:
9091

9192
```bash
92-
npx @huggingface/tiny-agents run ./my-agent
93+
npx @huggingface/tiny-agents run agent.json
9394
```
9495

9596
</hfoption>

0 commit comments

Comments
 (0)