{
  "provider": {
    "ruizhi": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Ruizhi Intranet",
      "options": {
        "baseURL": "{env:RUIZHI_BASE_URL}",
        "apiKey": "{env:RUIZHI_API_KEY}",
        "headers": {
          "Accept-Encoding": "gzip"
        }
      },
      "models": {
        "ayenaspring-pro-001": {
          "name": "Ruizhi Spring Pro 72B",
          "limit": { "context": 128000, "output": 6144 },
          "tools": true
        },
        "ayenavisual-004": {
          "name": "Ruizhi Vision",
          "limit": { "context": 32000, "output": 2000 },
          "attachment": true
        }
      }
    }
  },
  "lsp": {
    "pyright": {
      "command": ["pyright-langserver", "--stdio"],
      "extensions": [".py", ".pyi"]
    }
  },
  "model": "ruizhi/ayenaspring-pro-001",
  "autoshare": false,
  "autoupdate": false,
  "mcp": {
    "postgres": {
      "type": "local",
      "command": [
        "node",
        "/root/.config/opencode/mcp/postgres/node_modules/@modelcontextprotocol/server-postgres/dist/index.js",
        "{env:POSTGRES_CONN}"
      ],
      "environment": {
        "LANG": "zh_CN.UTF-8",
        "LC_ALL": "zh_CN.UTF-8"
      },
      "enabled": true
    },
    "filesystem": {
      "type": "local",
      "command": [
        "node",
        "/root/.config/opencode/mcp/filesystem/node_modules/@modelcontextprotocol/server-filesystem/dist/index.js",
        "/workspace"
      ],
      "environment": {
        "LANG": "zh_CN.UTF-8",
        "LC_ALL": "zh_CN.UTF-8"
      },
      "enabled": true
    },
    "excel": {
      "type": "local",
      "command": [
        "excel-mcp-server",
        "stdio"
      ],
      "environment": {
        "PYTHONIOENCODING": "utf-8",
        "PYTHONUTF8": "1",
        "LANG": "zh_CN.UTF-8"
      },
      "enabled": true
    }
  }
}
