{
  "$schema": "https://opencode.ai/config.json",

  "model": "local-ornith/ornith-local",

  "providers": {
    "local-ornith": {
      "package": "@opencode/ai/providers/openai-compatible",
      "name": "Ornith 1.5 Local / llama.cpp",

      "settings": {
        "baseURL": "http://127.0.0.1:8120/v1",
        "apiKey": "local-no-auth"
      },

      "models": {
        "ornith-local": {
          "modelID": "ornith-local",
          "name": "Ornith-1.5-9B Local",

          "capabilities": {
            "tools": true,
            "input": ["text"],
            "output": ["text"]
          },

          "compatibility": {
            "reasoningField": "reasoning_content"
          },

          "limit": {
            "context": 262144,
            "output": 16384
          }
        }
      }
    }
  }
}
