Download opencode.json from AZILS/opencode: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/spaces/AZILS/opencode/resolve/main/opencode.json
- Command line
-
hf download hf://spaces/AZILS/opencode/opencode.json
-
curl -L -o opencode.json https://huggingface.co/spaces/AZILS/opencode/resolve/main/opencode.json
296 Bytes
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "provider": { | |
| "zai": { | |
| "npm": "@ai-sdk/openai-compatible", | |
| "name": "Z.ai", | |
| "options": { | |
| "baseURL": "https://api.z.ai/api/paas/v4" | |
| }, | |
| "models": { | |
| "glm-5": { "name": "GLM-5" } | |
| } | |
| } | |
| } | |
| } | |