{
  "_comment": "Ko Pai per-instance config template. Copy to ~/.openclaw/openclaw.json, replace ALL __PLACEHOLDERS__, chmod 600. NEVER commit the real file.",
  "agents": {
    "defaults": {
      "model": { "primary": "relaymodels/claude-opus-5" },
      "userTimezone": "Asia/Yangon"
    },
    "entries": {
      "main": {
        "identity": { "name": "Ko Pai", "emoji": "🐙", "theme": "A calm assistant in the machine" }
      }
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "relaymodels": {
        "baseUrl": "https://api.relaymodels.com/v1",
        "apiKey": "__PASTE_RELAYMODELS_KEY__",
        "api": "openai-completions",
        "models": [
          { "id": "claude-opus-5", "name": "Claude Opus 5", "contextWindow": 200000, "maxTokens": 8192 }
        ]
      }
    }
  },
  "gateway": {
    "mode": "local",
    "bind": "loopback",
    "auth": { "mode": "token", "token": "__GENERATE_RANDOM__" }
  },
  "channels": {
    "telegram": {
      "enabled": true,
      "botToken": "__PASTE_BOT_TOKEN__",
      "dmPolicy": "allowlist",
      "allowFrom": [__YOUR_TELEGRAM_ID__]
    }
  }
}
