Spaces:
Runtime error
Runtime error
Download agent.ts.example from nextfetchball/Gradio: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/spaces/nextfetchball/Gradio/resolve/main/agent.ts.example
- Command line
-
hf download hf://spaces/nextfetchball/Gradio/agent.ts.example
-
curl -L -o agent.ts.example https://huggingface.co/spaces/nextfetchball/Gradio/resolve/main/agent.ts.example
432 Bytes
| const agent = new Agent({ | |
| provider: process.env.PROVIDER ?? "nebius", | |
| model: process.env.MODEL_ID ?? "Qwen/Qwen2.5-72B-Instruct", | |
| apiKey: process.env.HF_TOKEN, | |
| servers: [ | |
| // ... existing servers ... | |
| { | |
| command: "npx", | |
| args: [ | |
| "mcp-remote", | |
| "http://localhost:7860/gradio_api/mcp/sse" // Your Gradio MCP server | |
| ] | |
| } | |
| ], | |
| }); | |