Skip to content

v1.0.5 — 测试版:修复思维链模型 null bug

Pre-release
Pre-release

Choose a tag to compare

@yannicksong0106 yannicksong0106 released this 19 May 09:12
· 166 commits to main since this release

测试版 v1.0.5

⚠️ 这是测试版本,非正式发布。debug 签名。

修复内容

  • 修复思维链模型返回大量 null 字符串 — DeepSeek V4 Pro / Qwen 3.6 Plus 等 thinking 模型的 SSE 流中,thinking 阶段 delta.content 为 JSON null,之前用 optString 会返回字面量 "null" 导致大量重复 null 累积
  • reasoning_content 传回 — 收集思维链内容并在下次请求时传回给 API,避免 400 报错

修改文件

  • ChatApiService.kt — null 解析修复 + reasoning_content 收集 + ChatMessage 扩展
  • ChatViewModel.kt — 所有 7 个 streamChat 调用点适配

测试建议

用 DeepSeek V4 Pro 或 Qwen 3.6 Plus 连接测试,确认不再出现 null 字符串,多轮对话正常。


🤖 Generated with Claude Code