iven
b1a96ace1f
CI / security-audit (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
fix(ai): 修复 qwen3 模型 thinking 模式导致 AI 分析输出为空
qwen3:4b 默认启用 thinking 模式,流式 API 中 content 字段始终为空,
所有 token 消耗在 thinking 上。修复方案:
- 对 qwen3 模型改用非流式 API,从 content 中剥离 <think... 块
- 将清理后的内容按句子/段落分块模拟流式输出
- 自动提升 qwen3 的 num_predict 至 4096 确保 thinking + 回复完整
- 流式解析中跳过空 content chunk
- 新增 strip_think_block 函数及 5 个单元测试
2026-05-05 22:55:20 +08:00
..
2026-05-05 22:55:20 +08:00
2026-04-30 22:41:26 +08:00
2026-05-05 13:01:14 +08:00
2026-05-03 19:31:46 +08:00
2026-05-05 11:56:42 +08:00
2026-05-05 22:05:45 +08:00
2026-05-04 18:56:52 +08:00
2026-05-03 20:09:26 +08:00
2026-04-28 12:12:47 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-27 12:34:52 +08:00
2026-04-15 00:49:20 +08:00
2026-05-05 22:05:45 +08:00
2026-05-03 19:31:46 +08:00