Skill v1.0.2
currentLLM-judged scan95/1002 files
version: "1.0.2" name: pi-ds4-config description: Reconfigure pi-ds4 for local DeepSeek V4 Flash, DeepSeek V4 Pro, and GLM 5.2 models. Use when the user asks how to configure, download models, change protocol/runtime settings, or debug pi-ds4.
pi-ds4 configuration
To reconfigure pi-ds4/ds4, edit ~/.pi/ds4/settings.json (create it if missing). Do not edit other runtime state files in ~/.pi/ds4 unless explicitly debugging.
The file is a JSON object. Environment variables override it. Keys can be env names (DS4_READY_TIMEOUT_MS), camelCase without DS4_ (readyTimeoutMs), or lower snake_case (ready_timeout_ms). Use settings.schema.json / settings.example.json from the pi-ds4 package for validation/examples.
Minimal example:
{"$schema": "https://raw.githubusercontent.com/mitsuhiko/pi-ds4/main/settings.schema.json","protocol": "openai-responses","contextTokens": 393216,"readyTimeoutMs": 900000}
Common settings:
protocol:openai,openai-responses(default), oranthropiccontextTokens: ds4/Pi context ceiling (default393216; GLM models use their lower supported limit)autoUpdate: fast-forward the package-managed ds4 checkout before use (defaulttrue; local/external checkouts are untouched)readyTimeoutMs: server startup timeout in msruntimeDir: existing antirez/ds4 checkout instead of~/.pi/ds4/supportsupportRepo/supportBranch: runtime checkout sourceserverBinary/watchdogScript: custom executable/script pathsapiKey: token Pi sends to the local provider (defaultdsv4-local)
After editing, run /reload or restart Pi. No model is installed or registered automatically. Use /ds4 to download an explicit DeepSeek V4 Flash, DeepSeek V4 Pro, or GLM 5.2 variant and to view the log or control the server. Completed downloads are registered automatically in Pi's model catalogue.