Skip to content

opencode-rag-plugin fails to install with OpenCode 2.2.6 and 2.3.0 #40

Closed

Description

@Hammit

I get errors about opencode-rag-plugin not installing successfully when running opencode as below

I have the following docker-compose.yml...

services:
  ollama:
    image: ollama/ollama:rocm
    container_name: ollama
    ports:
      - "11434:11434"
    volumes:
      - ~/svc/ollama/ollama:/root/.ollama
    devices:
      - "/dev/dri:/dev/dri"
      - "/dev/kfd:/dev/kfd"

  opencode:
    image: ghcr.io/anomalyco/opencode:2.3.0
    container_name: opencode
    stdin_open: true
    tty: true
    volumes:
      - ./config:/root/.config/opencode
      - ./cache:/root/.cache/opencode
      - ~/src/deskflow:/workspace
    working_dir: /workspace
    depends_on:
      - ollama

I have the following ./config/config.json...

{
  "$schema": "https://opencode.ai/config.json",
  "plugins": [
    {
      "package": "opencode-rag-plugin",
      "options": {
        "codemode": false
      }
    }
  ],
  "provider": {
    "ollama": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Ollama",
      "options": {
        "baseURL": "http://ollama:11434/v1"
      },
      "models": {
        "qwen3:8b": {
          "tools": true
        }
      }
    }
  }
}

OpenCode tells me that the error is due to a problem in LanceDB musl/AVX-512 packaging bug introduced in 0.29 but fixed in 0.33

Activity

  1. MrDoe commented on Nov 16, 2026

    @MrDoe
    Owner

    Fixed by bumping @lancedb/lancedb\ from ^0.29.0\ to ^0.33.0\ (musl/AVX-512 packaging bug in 0.29 is resolved in 0.33). Typecheck and LanceDB tests pass on 0.33.0. Will ship in next release.

  2. MrDoe commented on Nov 16, 2026

    @MrDoe
    Owner

    Thanks for reporting this, @Hammit! The fix (bumping LanceDB to 0.33.0) shipped in v2.13.5. Please upgrade to the latest release and let us know if the install issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions