opencode config LLM – playwrite, context7, wayland

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "playwright": {
      "type": "local",
      "command": [
        "npx",
        "@playwright/mcp@latest",
        "--headless"
      ],
      "enabled": true
    },
    "context7": {
      "type": "remote",
      "url": "https://mcp.context7.com/mcp",
      "headers": {
        //"Authorization": "Bearer YOUR_API_KEY"
      },
      "enabled": true
    },
    "wayland": {
      "type": "local",
      "command": [
        "/home/student/.local/bin/uvx",
        "wayland-mcp-kurojs"
      ],
      "enabled": true,
      "environment": {
        "XDG_RUNTIME_DIR": "/run/user/1000",
        // VLM cte přes LiteLLM (Azure-kompatibilní cesta v wayland-mcp), ověřeno včetně image supportu
        "VLM_PROVIDER": "azure",
        "AZURE_ENDPOINT": "http://192.168.22.154:18300/v1",
        "AZURE_API_KEY": "sk-Programator.2022",
        "VLM_MODEL": "qwen3.8-flash-next"
      }
    },
  },

  "provider": {
    "localLiteLLM": {
      "models": {
        "qwen3.8-flash-next": {
          "name": "qwen3.8-flash-next"
        }
      },
      "name": "LiteLLM",
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "apiKey": "sk-Programator.2022",
        "baseURL": "http://localhost:14000/v1"
      },
      "name": "qwen3.8",
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "http://192.168.22.154:18300/v1"
      }

    }
  }
}

Napsat komentář