{ "$schema": "https://opencode.ai/config.json", "lsp": true, "formatter": { "nixfmt": { "command": ["nixfmt", "$FILE"], "extensions": [".nix"] }, "prettier": { "command": ["prettier", "--write", "$FILE"], "extensions": [".md", ".yaml", ".yml", ".json", ".css", ".html", ".js", ".ts", ".jsx", ".tsx"] }, "shfmt": { "command": ["shfmt", "-w", "$FILE"], "extensions": [".sh", ".bash"] }, "ruff": { "command": ["ruff", "format", "$FILE"], "extensions": [".py"] }, "taplo": { "command": ["taplo", "format", "$FILE"], "extensions": [".toml"] }, "stylua": { "command": ["stylua", "$FILE"], "extensions": [".lua"] } }, "disabled_providers": ["opencode"], "provider": { "halo": { "npm": "@ai-sdk/openai-compatible", "name": "Halo", "options": { "baseURL": "http://halo:8000/v1" }, "models": { "coder": { "name": "coder" } } } } }