Repository navigation
Conversation
Resolve model list context labels with the existing binding precedence so user overrides remain visible alongside catalog metadata and without discovery. fixes vastsa#1484
…/review-pr1494-context-regression
The configured context limit can differ from the discovered catalog value, so the picker needs a regression test for provenance-aware display. Cover user overrides, catalog inheritance, and saved limits when discovery is unavailable.
Keep the Chinese runtime and E2E specifications readable for Chinese users while documenting the configured context-window display behavior.
…ontext-regression
The new unit regression covers context-window resolution; keep the E2E plan precise about that coverage and the remaining manual user path.
…ontext-regression
…ontext-regression
…ontext-regression
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.
问题与修改
高级设置保存 500K 后,聊天框模型列表仍显示目录中的 1M。
composerModelsForProvider()原先直接复制发现数据,漏掉了对应 binding 的自定义额度。本次复用现有
effectiveContextWindow():手动设置优先,目录继承值继续跟随目录,缺少发现数据时仍显示有效的已保存额度。核心改动仅一个函数(+10/-1),另同步行为说明和手动验证场景;不修改运行时预算、自动压缩阈值或存储格式。验证
composer-models/context-usage测试:33 项通过。Task candidate:
9e51902490db193089ae82e3d99dfab1c6ea6673Base main:
9f6aaa2c29c824d6d424f1b021e1994ebb5ef769Fixes #1484