Commit 7053c2b
authored
🤖 fix: treat default Continue as resume sentinel (#1137)
### What changed
- Use a short resume sentinel ("Continue") for forced compaction.
- Don't inject that sentinel into the compaction *prompt* (summary
request), while still keeping it in compaction metadata so the backend
can auto-send it after compaction.
- Add unit coverage for the default vs. explicit follow-up behavior.
### Why
Appending a verbose auto-injected instruction can compete with the
user's actual message; treating "Continue" as a control sentinel and
keeping it out of the summarization prompt reduces instruction
confusion.
---
_Generated with `mux` • Model: `unknown` • Thinking: `unknown`_1 parent 8c52449 commit 7053c2b
File tree
3 files changed
+52
-7
lines changed- src/browser
- components
- utils
3 files changed
+52
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
200 | | - | |
| 203 | + | |
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
169 | 198 | | |
170 | 199 | | |
171 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
631 | 647 | | |
632 | 648 | | |
633 | 649 | | |
| |||
636 | 652 | | |
637 | 653 | | |
638 | 654 | | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
| 655 | + | |
643 | 656 | | |
644 | 657 | | |
645 | 658 | | |
| |||
0 commit comments