Repository navigation
fix(waifu): 保留思考过程并仅在回复末条显示统计 - #186
Closed
3316891527 wants to merge 1 commit into
Closed
3316891527 wants to merge 1 commit into
3316891527 wants to merge 1 commit into
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.
Waifu 回复的分句链会过滤 think/thinking,同时同一请求的统计会在每个分句底部重复显示。本 PR 保留思考原文展示,并只在同一回复的最后一条显示生成时间及 token/耗时/速度统计。
验证:新增 16 项 JUnit 回归,覆盖标签边界、存储、流式取消、重试撤回、预览身份、朗读隔离、重复句子及五条分句仅末条显示统计。9 个 Kotlin 文件语法解析无诊断;MessageProcessingDelegate 的既有解析器限制与原提交一致。已逐字核对思考标题和展开结构代码保持原样,补丁格式检查通过。
本机未执行完整 Android 编译、JUnit 或设备视觉验收。推送后分别发起一次现有 Build(assembleDebug,成功后上传 APK)和 Android Tests,发起后停止查询。
提交:6b5709d226d71bc9fee2d1c6053ffa5f6ef2b1af。基于 #184 的当前主题版本单独建立修复分支,便于审阅这两项 Waifu 改动;保持未合并,由维护者决定合并。
本项已随 集成 PR #191 合入
dev,并经 发布同步 PR #193 同步到main。原来源提交6b5709d226d71bc9fee2d1c6053ffa5f6ef2b1af已核对保留。本 PR 原目标为
feat/reopen-pr-176-theme-foundation;由于dev已包含全部来源提交,GitHub 拒绝将目标改到dev。关闭此重复待合并条目,代码与原始审阅记录均保留。