Skip to content

Automatic context compression not working in offline intranet deployment (v1.2.12) #18331

Closed as not planned

Description

@wxy119-119

Question

I have deployed OpenCode version 1.2.12 in an intranet environment without internet access. However, the automatic context compression feature is not working. I would like to know why this is happening and how to resolve it.
Steps to reproduce:

  1. Deploy OpenCode v1.2.12 in an offline intranet environment.
  2. Use OpenCode with a long conversation context.
  3. Observe that context is not automatically compressed.
    Expected behavior: Context should be compressed automatically after a certain threshold.
    Actual behavior: Context is not compressed, leading to potential token limits or memory issues.
    I have also configured relevant settings in opencode.json to enable context compression, but it still does not work.
    Additional information:
  • OpenCode version: 1.2.12
  • Deployment environment: Intranet without internet access

Activity

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

    @github-actions
    Contributor

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

    If your issue is specifically caused by the offline/intranet environment (e.g., the compression feature requires an external API call that fails without internet), please clarify that in the issue so it can be distinguished from the above.

  3. removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  4. rekram1-node commented on Jun 23, 2026

    @rekram1-node
    Collaborator

    Automated: closing question issues.

    GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.

    If this is a bug or feature request, please open a new issue with the appropriate template.

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