wmagev
2eef395e1c
fix(compaction): mark end of context summary in role=user fallback
...
When the head ends with assistant/tool and the tail starts with assistant,
the summary is inserted as a standalone role="user" message. The body's
verbatim "## Active Task" quote then gets read as fresh user input by
weak/local models (#11475 , #14521 ).
The merge-into-tail path already appends an explicit end-of-summary marker
for this reason. Mirror it on the standalone path so both insertion routes
give the model the same "summary above, not new input" signal.
2026-05-05 04:51:29 -07:00
..
2026-05-03 01:44:23 -07:00
2026-04-30 22:45:14 -07:00
2026-05-05 04:51:29 -07:00
2026-05-05 04:42:48 -07:00
2026-05-04 12:36:29 -07:00
2026-05-04 01:39:23 -07:00
2026-05-05 04:42:59 -07:00
2026-05-05 04:43:40 -07:00
2026-04-24 03:04:42 -07:00
2026-04-27 12:37:33 -07:00
2026-04-16 16:50:15 -07:00
2026-04-30 02:35:29 -07:00
2026-05-04 20:50:24 -07:00
2026-05-04 12:37:28 -07:00
2026-05-04 12:43:14 -07:00
2026-04-30 13:36:47 -07:00
2026-05-05 04:25:18 -07:00
2026-05-04 12:42:43 -07:00
2026-04-27 03:38:39 -07:00
2026-04-29 23:18:55 -07:00
2026-04-21 01:56:35 -07:00
2026-04-28 04:58:22 -07:00
2026-04-21 06:06:16 -07:00
2026-04-24 14:32:21 -07:00
2026-04-21 08:00:00 -07:00
2026-04-28 05:21:49 -07:00
2026-04-29 23:18:55 -07:00
2026-04-30 04:32:06 -07:00
2026-05-02 01:49:55 -07:00
2026-04-26 19:01:26 -07:00
2026-05-04 12:07:17 -07:00
2026-04-28 06:45:55 -07:00
2026-04-20 12:23:05 -07:00
2026-04-19 22:44:47 -07:00
2026-04-29 09:53:42 -07:00
2026-04-29 05:00:40 -07:00
2026-04-29 12:43:39 -07:00
2026-04-17 00:20:40 -07:00
2026-04-17 13:31:53 -07:00
2026-04-17 14:21:22 -07:00
2026-04-25 04:50:14 -07:00
2026-04-20 12:23:05 -07:00
2026-04-20 12:23:05 -07:00
2026-04-20 23:20:33 -07:00
2026-05-04 15:49:28 -07:00
2026-04-26 18:50:49 -07:00
2026-04-26 18:50:49 -07:00
2026-04-26 18:50:49 -07:00
2026-04-26 18:50:49 -07:00