Repository navigation
fix: recover session models and correct Responses connection checks - #173
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.
历史会话引用的模型 Profile 不可用时,桌面端现在引导用户明确选择模型后恢复,并保留历史消息和后续恢复时的选择。配置文件损坏或凭据未解析时,优先报告实际配置问题,避免误导用户替换模型。
本 PR 同时修复 OpenAI Responses 连接检测:输出预算从 1 调整为服务端要求的最小值 16。
改动
resumeSession(..., { model })的有效 Profile 以追加元数据的方式保存,后续恢复和分叉沿用。persist: false不写入;不自动匹配历史原始模型名。npm test运行 unit/e2e;显式视觉测试缺少本地基线时给出生成说明。验证