Skip to content

Opencode hangs with Ollama models - shows '>build · model:version' but doesn't progress #17619

Closed

Description

@burasu76

Description

Description

Opencode se queda colgado al intentar usar modelos de Ollama, mostrando ">build · qwen3-coder:30b" pero sin progresar further.

Steps To Reproduce

  1. Instalar Ollama y descargar modelo: ollama pull qwen3-coder:30b
  2. Verificar que Ollama funciona directo: ollama run qwen3-coder:30b "Hola" (funciona correctamente)
  3. Configurar opencode.json con el modelo:
    {
      "$schema": "https://opencode.ai/config.json",
      "provider": {
        "ollama": {
          "npm": "@ai-sdk/openai-compatible",
          "name": "Ollama (local)",
          "options": {
            "baseURL": "http://localhost:11434/v1"
          },
          "models": {
            "qwen3-coder:30b": {
              "name": "Qwen3 Coder 30B"
            }
          }
        }
      }
    }
    

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 15, 2026
  2. github-actions commented on Mar 15, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is the same, consider adding a comment there instead so the discussion stays focused.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions