## 正常情况 <img width="1479" height="1018" alt="Image" src="https://github.com/user-attachments/assets/d3021101-5e89-40c7-8c5a-0599ad788725" /> ## 异常情况 <img width="1920" height="1020" alt="Image" src="https://github.com/user-attachments/assets/136bf9be-a7e5-4b22-9930-65e9bebd5070" /> ## 现象: - DeepSeek v4 pro 对较长实现类 prompt 会先输出大量 reasoning_content,几分钟内没有普通 content delta,也没有 tool_calls。 - 当前 OpenAI-compatible provider 在 internal/provider/openai.go 中解析 reasoning_content 后只保存到 Message.Meta,不通过 onDelta 或事件通知 UI。 - TUI 因此一直显示 Thinking,用户误以为模型卡死或没有工具调用。 - 复现证据:session 20260510-073547-18865ac8,15:36:49 用户提交,15:40:28 才出现第一个 list_files;期间 output_tokens=2765,主要在 meta.reasoning_content。 - 正常对比:session 20260510-074048-05c02978,15:41:20 提交,15:41:32 第一个工具调用,hidden reasoning 很短。
正常情况
异常情况
现象: