Skip to content

[FEATURE]:Allow configurable context window instead of hard‑coded value for individual models #40818

Closed as not planned

Description

@storagess

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

Currently the context window size is hard‑coded for certain models, such as GLM‑5.2‑Max which is fixed to 1M tokens.
We want the ability to toggle or configure whether to enable the 1M‑token context window. When disabled, it should dynamically use the native context‑length parameters provided by the GLM model API, rather than forcing the 1M setting.
There should be flexible user‑selectable options for context window size on a per‑model basis.

Activity

  1. github-actions commented on Aug 6, 2026

    @github-actions
    Contributor

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

    If your request is distinct from these, please clarify how it differs.

  2. github-actions commented on Oct 7, 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