Skip to content

Unusable sessions after 1.14.24 upgrade. New messages on session with just 161.2k context are now triggering compaction but never succeeds. It claims to have over 1M context. Conversations before 1.14.24 are now unrecoverable because of this. #24249

Closed as not planned
herjarsa/opencode
#3

Description

@raymelon

Description

Unusable sessions after 1.14.24 upgrade. New messages on session with just 161.2k context are now triggering compaction but never succeeds. It claims to have over 1M context. Conversations before 1.14.24 are now unrecoverable because of this.

Error from provider (DeepSeek): This model's maximum context length is 1048576 tokens. However, you requested 1762911 tokens (1730911 in the messages, 32000 in the completion). Please reduce the length of the messages or completion.

Plugins

No response

OpenCode version

1.14.24

Steps to reproduce

  1. Upgrade to 1.14.24
  2. Load an old session with under 1M context
  3. Continue the conversation expecting it to work like on older versions
  4. Watch a compaction trigger
  5. Retry compaction with a 1M context model and watch it struggle to compact it

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

Windows Terminal

Activity

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

    @github-actions
    Contributor

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

    If your issue is distinct (e.g., the context inflation to 1.7M tokens is a new regression introduced specifically by 1.14.24), please describe what changed and consider referencing the above for context.

  3. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  4. 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.

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