Skip to content

[FEATURE]:Pluggable Context Management Method #24893

Closed as not planned
Closed as not planned

Description

@PandaBiang

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When using opencode, the previous model with small context often compresses the context, and sometimes after compression, the AI forgets too much and becomes foolish; Nowadays, using the deepseek-v4-pro model has quite a large context, with 600K contexts used in daily life. It feels like there is a lot of nonsense and wasted tokens in the context. Using default instructions to compress the context is afraid of compressing too much.
At present, context compression has limited options for users. I would like a plugin that allows users to choose which part of the context to compress:
Pluggable context management allows users to use commands to track the usage of the current context and the returned context. LLM needs to classify the context based on its content. Users can choose to uninstall or load relevant contexts. The saved context can be used as persistent memory across conversations.
How feasible is this idea?

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Apr 29, 2026
  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 29, 2026
  3. github-actions commented on Apr 29, 2026

    @github-actions
    Contributor

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

    Consider adding your thoughts to one of those threads if they cover your use case.

  4. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    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.

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