Repository navigation
fix: honor user model context windows in managed provider runtimes - #1574
Open
jonjlhuang-blip wants to merge 2 commits into
Open
jonjlhuang-blip wants to merge 2 commits into
jonjlhuang-blip wants to merge 2 commits into
Conversation
Preserve explicit model capacities in host-managed runtime environments and invalidate transcript estimates when those settings change.
PR quality triageChanged areas: area:cli-core, area:server CLI core policy: Blocked by policy until a maintainer applies Missing-test policy: No missing-test policy block detected. Coverage baseline policy: No coverage-baseline policy block detected. CLI core files:
Coverage policy files:
Required check plan:
Test coverage signals:
Risk notes:
Hard merge gates come from the deterministic GitHub Actions contract lanes above. |
…xtures Keep explicit global windows above built-in account defaults and enable config access for the latest-main inspection regression test.
jonjlhuang-blip
marked this pull request as ready for review
October 15, 2026 13:54
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CLAUDE_CODE_MODEL_CONTEXT_WINDOWSvalues from the user's rootsettings.jsonin host-managed provider runtimes, including official OpenAI/Grok OAuth and DeepSeek Account. Do not treat generatedcc-haha/settings.jsonsnapshots as user overrides.Motivation
Host-generated provider defaults can overwrite a user's explicit model capacity (for example, with 258,400 tokens). Increasing unrelated maximum-token settings does not repair the effective SDK window. Propagate explicit capacities consistently without changing authentication or model IDs.
Latest-main validation
Earlier v0.7.1 validation (not latest-main full-suite evidence)
Limits and privacy