{
  "gateway": {
    "auth": {
      "mode": "token",
      "token": "8073991823f409f3fe3b25c9bc009e4ab9b1d39b0ccbd00e"
    },
    "mode": "local",
    "port": 18789,
    "bind": "lan",
    "tailscale": {
      "mode": "off",
      "resetOnExit": false
    },
    "controlUi": {
      "allowedOrigins": [
        "http://localhost:18789",
        "http://127.0.0.1:18789"
      ]
    }
  },
  "wizard": {
    "lastRunAt": "2026-04-26T13:22:21.427Z",
    "lastRunVersion": "2026.4.24",
    "lastRunCommand": "configure",
    "lastRunMode": "local"
  },
  "meta": {
    "lastTouchedVersion": "2026.4.29",
    "lastTouchedAt": "2026-05-03T07:56:24.349Z"
  },
  "tools": {
    "web": {
      "search": {
        "provider": "brave",
        "enabled": true,
        "openaiCodex": {}
      },
      "fetch": {
        "enabled": true
      }
    }
  },
  "plugins": {
    "entries": {
      "bonjour": {
        "enabled": false
      },
      "brave": {
        "enabled": true,
        "config": {
          "webSearch": {
            "apiKey": "BSA1kWll6KUhLUzDUv7Honv6swA4JWM"
          }
        }
      },
      "openrouter": {
        "enabled": true
      },
      "ollama": {
        "enabled": true
      },
      "lossless-claw": {
        "enabled": true
      }
    },
    "slots": {
      "contextEngine": "lossless-claw"
    }
  },
  "channels": {
    "telegram": {
      "enabled": true,
      "groups": {
        "*": {
          "requireMention": true
        }
      },
      "botToken": "8520418069:AAEoszx_4-8xh9hBDe1seaD1J_EZsJ4xg84",
      "dmPolicy": "allowlist",
      "allowFrom": [
        "1344779884"
      ]
    }
  },
  "agents": {
    "defaults": {
      "models": {
        "ollama/frob/qwen3.5-instruct:9b": {},
        "ollama/qwen3.5:9b": {},
        "ollama/qwen3.5:4b": {},
        "openrouter/auto": {
          "alias": "OpenRouter"
        },
        "openrouter/minimax/minimax-m2.5:free": {},
        "openrouter/nvidia/nemotron-3-super-120b-a12b:free": {},
        "openrouter/google/gemma-4-31b-it:free": {},
        "openrouter/free": {},
        "openrouter/deepseek/deepseek-v4-flash": {},
        "ollama/qwen3.5-100k:latest": {},
        "ollama/Qwen3.6-27b-Custom:latest": {}
      },
      "model": {
        "primary": "ollama/Qwen3.6-27b-Custom:latest",
        "fallbacks": [
          "ollama/qwen3.5-100k:latest"
        ]
      }
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "ollama": {
        "baseUrl": "http://100.101.173.25:11434",
        "api": "ollama",
        "apiKey": "ollama-local",
        "models": [
          {
            "id": "Qwen3.6-27b-Custom:latest",
            "name": "Qwen3.6-27b-Custom:latest",
            "reasoning": false,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 80000,
            "maxTokens": 8192
          },
          {
            "id": "qwen3.5-100k",
            "name": "qwen3.5-100k",
            "reasoning": false,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 100000,
            "maxTokens": 8192
          },
          {
            "id": "gemma4",
            "name": "gemma4",
            "reasoning": false,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 60000,
            "maxTokens": 8192
          },
          {
            "id": "frob/qwen3.5-instruct:9b",
            "name": "frob/qwen3.5-instruct:9b",
            "reasoning": false,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 60000,
            "maxTokens": 8192
          },
          {
            "id": "qwen-fast:latest",
            "name": "qwen-fast:latest",
            "reasoning": false,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 60000,
            "maxTokens": 8192
          },
          {
            "id": "qwen3.5:4b",
            "name": "qwen3.5:4b",
            "reasoning": false,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 60000,
            "maxTokens": 8192
          },
          {
            "id": "qwen3.5:9b",
            "name": "qwen3.5:9b",
            "reasoning": false,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 100000,
            "maxTokens": 8192
          }
        ]
      }
    }
  },
  "auth": {
    "profiles": {
      "ollama:default": {
        "provider": "ollama",
        "mode": "api_key"
      },
      "openrouter:default": {
        "provider": "openrouter",
        "mode": "api_key"
      }
    }
  },
  "skills": {
    "entries": {
      "trello": {
        "enabled": false
      },
      "qqbot-channel": {
        "enabled": false
      },
      "qqbot-media": {
        "enabled": false
      },
      "qqbot-remind": {
        "enabled": false
      },
      "sonoscli": {
        "enabled": false
      },
      "songsee": {
        "enabled": false
      },
      "slack": {
        "enabled": false
      },
      "openhue": {
        "enabled": false
      },
      "eightctl": {
        "enabled": false
      },
      "discord": {
        "enabled": false
      },
      "bear-notes": {
        "enabled": false
      },
      "blucli": {
        "enabled": false
      },
      "bluebubbles": {
        "enabled": false
      },
      "spotify-player": {
        "enabled": false
      }
    }
  }
}
