Skip to content

Ollama context stuck at 0% #21736

Closed as not planned
Closed as not planned

Description

@nshiab

Description

Context stays stuck at "0%" while agent is working.

Thank you for this amazing open-source project!

Plugins

None

OpenCode version

1.4.2

Steps to reproduce

ollama launch opencode --model qwen3.5:35b (or smaller) and start working.

Screenshot and/or share link

Image

Operating System

macOS 26.3.1

Terminal

Terminal (default on macOS)

Activity

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

    @github-actions
    Contributor

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

    Both are closed — it's possible this is a regression or a related but distinct case. Feel free to reference those issues for additional context.

  3. RemeJuan commented on Apr 10, 2026

    @RemeJuan

    I’m seeing the same thing on macOS with OpenCode 1.4.3 and Ollama. The session reaches service=llm providerID=ollama modelID=gemma4:e4b ... stream and then stalls with no completion/error.

    Direct calls to Ollama’s OpenAI-compatible endpoint work fine (/v1/chat/completions with gemma4:e4b, including tool calls), so this looks like an OpenCode streaming regression rather than an Ollama/model issue.

    I also confirmed the same behavior in --pure mode, so it doesn’t seem plugin-related.

  4. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  5. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  6. dercodeKoenig commented on Sep 14, 2026

    @dercodeKoenig

    still broken

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions