Repository navigation
fix: deliver phone reply images through authenticated file uploads - #201
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.
手机能够在工作折叠区显示原图,但最终答复的大图一直加载失败:本地路径无法由手机读取,普通图片组件也无法给 ChatGPT 下载代理补上 OAuth 授权。
改用官方文件上传流程取得真实 fileId 和可直接读取的签名存储地址,保留旧协议需要的原生 result 与消息 ID。历史重开刷新地址并复用文件,失败、超时和中断保留原结果。Sketch 只匹配相同文档及版本的完整预览用于图片展示,不修改草图绘制逻辑。签名地址不写回会话或缓存,调试日志去掉 URL 查询信息。
验收:完整测试 953 项(950 通过、3 跳过、0 失败),最终构建及 120 项交付检查通过,独立代码复审通过。真实苹果与鲸鱼娘既有附件经 DSH 历史恢复、云下载、内容哈希与真实浏览器显示检查通过;再次恢复不重复上传、不重复插图。用户已在 iPhone 截图确认苹果显示在最终答复大图区;鲸鱼娘的 iPhone 显示尚未单独确认。用户输入照片仍沿用原有通道,不包含在本次输出图片验收结论内。
同一候选已装到本地 Portable 并正常重启原生窗口与后台,17 个会话、配置、设置和其他插件保留。只更新 main,不发布版本,不修改正式 3.1.5 下载入口。