{
  "version": "1.0.0",
  "httpserver": {
    "port": 5520,
    "host": "127.0.0.1"
  },
  "virtualrouter": {
    "providers": {
      "tab": {
        "id": "tab",
        "enabled": true,
        "type": "responses",
        "baseURL": "https://api.tabcode.cc/openai",
        "maxContextTokens": 256000,
        "auth": {
          "type": "apikey",
          "apiKey": "${TAB_API_KEY}"
        },
        "models": {
          "gpt-5.1": {},
          "gpt-5.2": {}
        },
        "responses": {
          "process": "chat",
          "streaming": "always"
        },
        "config": {
          "responses": {
            "streaming": "always"
          }
        }
      }
    },
    "routing": {
      "default": [
        {
          "id": "default-primary",
          "mode": "priority",
          "targets": ["tab.gpt-5.1"]
        }
      ],
      "thinking": [
        {
          "id": "thinking-primary",
          "mode": "priority",
          "targets": ["tab.gpt-5.2"]
        }
      ]
    }
  }
}
