Skip to content

v2.3 — 流式修复 + 推理完善 + 全量审查

Choose a tag to compare

@lhhkuki lhhkuki released this 07 May 20:17
· 46 commits to master since this release

修复

  • OpenAI 流式 502 — 补充缺失的 HTTP 响应头(send_response + end_headers),非流式流式均正常
  • Anthropic thinking 注入 — 带 tool_calls 的 assistant 消息自动补空 thinking 块,Kimi 推理不再 400
  • handler.py try/except — 整个 _handle_responses 纳入 try 保护,异常不再悄悄崩溃
  • 前端日志去重 — 轮询改为就地替换,不再重复追加
  • reasoning_content 缓存 — 响应中的推理内容缓存并在输出回退,V4 Pro 空 content 不再 502
  • system 消息去重 — instructions 和 input 中的 system 消息不再重复

清理

  • 移除死代码、精简日志输出
  • requirements.txt 标注 pystray/pillow 为旧 GUI 可选依赖
  • 全文语法编译通过,TypeScript 编译通过