Repository navigation
fix(zcode): harden provider config against stale and invalid entries(重提 #633,修正作者) - #649
Merged
lzt404 merged 3 commits intoNov 15, 2026
Merged
Conversation
Build on router-for-me#632: prune modelOrder/personalModelIds to the live catalog (dedupe, keep order, never re-add removed models), drop previously enabled ids absent from the catalog save request, sanitize reasoningLevel.values (trim/dedupe/omit when empty) and fall back to an available default model when the selected one was deleted. All operations are O(n) in memory; no extra scans or polling.
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.
说明
这是 #633 的同内容重提,只为修正提交作者。
之前本机全局 Git 身份被误设为
cookjohn <ssdlhlddl@gmail.com>,导致 #633 的提交作者显示为 cookjohn。代码内容与 #633 完全一致,没有新增改动。wenbaolu6666-designdev的差异与原 PR 相同(3 个文件)验证
git diff dev...HEAD与原 PR 相同