[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/MacroscopeBenchmark/ds2api/main/opencode.json.example [Back]  [Original]

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "ds2api": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "DS2API",
      "options": {
        "baseURL": "http://localhost:5001/v1",
        "apiKey": "your-api-key"
      },
      "models": {
        "gpt-4o": {
          "name": "GPT-4o (aliased to deepseek-chat)"
        },
        "gpt-5-codex": {
          "name": "GPT-5 Codex (aliased to deepseek-reasoner)"
        },
        "deepseek-chat": {
          "name": "DeepSeek Chat (DS2API)"
        },
        "deepseek-reasoner": {
          "name": "DeepSeek Reasoner (DS2API)"
        }
      }
    }
  },
  "model": "ds2api/gpt-5-codex"
}

Web Proxy Viewer  |  New URL  |  Original Page