Skip to content

fix(zcode): harden provider config against stale and invalid entries(重提 #633,修正作者) - #649

Merged
lzt404 merged 3 commits into
router-for-me:devfrom
wenbaolu6666-design:WenPaul/resubmit-633
Nov 15, 2026
Merged

lzt404 merged 3 commits into
router-for-me:devfrom
wenbaolu6666-design:WenPaul/resubmit-633

Conversation

@wenbaolu6666-design

Copy link
Copy Markdown
Contributor

说明

这是 #633 的同内容重提,只为修正提交作者。

之前本机全局 Git 身份被误设为 cookjohn <ssdlhlddl@gmail.com>,导致 #633 的提交作者显示为 cookjohn。代码内容与 #633 完全一致,没有新增改动。

验证

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.
@lzt404
lzt404 merged commit d254a18 into router-for-me:dev Nov 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants