Repository navigation
为 Msg Buffer 的会话选择和模型使用 Option - #68
Merged
Merged
Conversation
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.
用户影响
新版继续读取已有的会话与模型选择记录。新版保存后,旧版仍能读取这两个字段。已用上一版源码验证选中会话和模型以及两个字段缺省的情况。
改动和风险
应用内部用
Option String和Option Tag表示会话 ID 与模型。写入时在存档边界转回旧版接受的字符串、标签或 nil。新写入的存档外层是旧版同样支持的 Map,读取仍支持旧的 Store 结构。原质量门禁继续逐定义检查,仅将原有两处 nil 的预算移到编码器,并删除 updater 的三处预算。验证