liuguiyuan3
6890812ae4
MUL-5657 fix(agent): add missing streamingCurrentTurn gate to kimi ACP backend ( #6308 )
...
kimi.go was the only ACP backend missing the streamingCurrentTurn gate.
Without it, history replay emitted by the Kimi CLI during session/resume
contaminates Result.Output and the message stream with previous-turn
content — the user sees the old answer duplicated alongside the new one.
The root cause is chronological: the gate was introduced for Hermes in
PR #2024 (2026-05-03) but kimi already existed at that point and was not
updated. Later backends (grok, traecli) were written after the fix and
included the gate from day one.
Add the same atomic.Bool gate + acceptNotification callback pattern used
by hermes, grok, traecli, kiro, and qoder. Pin with
TestKimiBackendDropsHistoryReplayOnResume.
2026-08-03 17:59:16 +08:00
..
2026-07-24 01:52:15 +08:00
2026-07-31 16:01:53 +08:00
2026-07-28 21:18:12 +08:00
2026-07-31 16:01:53 +08:00
2026-07-23 01:59:06 +08:00
2026-07-31 16:01:53 +08:00
2026-07-31 16:01:53 +08:00
2026-07-06 15:58:38 +08:00
2026-07-30 20:34:01 +08:00
2026-07-06 16:14:03 +08:00
2026-07-06 16:14:03 +08:00
2026-07-27 02:01:41 +08:00
2026-07-07 12:19:50 +08:00
2026-07-28 22:02:55 +08:00
2026-07-28 22:02:55 +08:00
2026-07-30 21:40:23 +08:00
2026-07-30 21:40:23 +08:00
2026-07-29 15:55:02 +08:00
2026-07-23 15:09:50 +08:00
2026-07-30 18:24:45 +08:00
2026-07-30 18:24:45 +08:00
2026-07-31 16:09:36 +08:00
2026-07-31 16:09:36 +08:00
2026-07-31 16:09:36 +08:00
2026-07-31 16:09:36 +08:00
2026-07-28 14:28:38 +08:00
2026-07-28 14:28:38 +08:00
2026-07-30 16:15:36 +08:00
2026-07-24 01:52:15 +08:00
2026-07-21 16:01:04 +08:00
2026-07-21 16:01:04 +08:00
2026-07-29 15:15:41 +08:00
2026-07-29 15:15:41 +08:00
2026-07-29 15:15:41 +08:00
2026-07-14 15:21:45 +08:00
2026-07-14 15:21:45 +08:00
2026-07-14 15:21:45 +08:00
2026-07-23 01:59:06 +08:00
2026-07-30 20:34:01 +08:00
2026-07-31 15:22:47 +08:00
2026-06-23 13:17:13 +08:00
2026-07-30 15:23:36 +08:00
2026-07-31 15:22:47 +08:00
2026-08-03 17:59:16 +08:00
2026-08-03 17:59:16 +08:00
2026-07-31 15:22:47 +08:00
2026-07-31 15:22:47 +08:00
2026-07-12 02:53:17 +08:00
2026-07-31 16:01:53 +08:00
2026-07-31 16:01:53 +08:00
2026-06-25 00:41:25 +08:00
2026-07-28 22:02:55 +08:00
2026-07-28 22:02:55 +08:00
2026-07-28 22:02:55 +08:00
2026-07-28 22:02:55 +08:00
2026-07-23 15:09:50 +08:00
2026-07-23 15:09:50 +08:00
2026-07-23 15:09:50 +08:00
2026-07-31 16:01:53 +08:00
2026-07-31 16:01:53 +08:00
2026-07-22 13:35:59 +08:00
2026-07-22 13:35:59 +08:00
2026-07-23 01:59:06 +08:00
2026-07-17 13:09:20 +08:00
2026-07-17 13:09:20 +08:00
2026-07-29 15:15:41 +08:00
2026-07-25 02:48:03 +08:00
2026-07-30 21:40:23 +08:00
2026-07-23 01:59:06 +08:00
2026-07-31 15:22:47 +08:00
2026-07-31 15:22:47 +08:00
2026-07-31 16:01:53 +08:00
2026-07-21 14:55:08 +08:00