Conversation
Owner
Author
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.
对应 A10,基于 #13 以正确识别默认模型。
之前空值都表示不修改,清空 small_model 或默认 variant 后旧值仍保留。适配器增加显式 clear 标记,区分保持、设置和删除。UI 已有的空选择会转换为删除请求;默认模型无法解析时,不误删未知来源的 variant。删除只针对目标键,保留 agent.build 的其他配置。
验证:23 个命令模块 Rust tests 通过;回归涵盖不修改时字节一致、清空、重新设置、注释与其他 build 字段保留。rustfmt/diff check 通过。完整 Tauri 集成尚待验证,保留草稿。