Repository navigation
Commit fcae817
fix(web): replace stale draft model options when carrying a complete selection
Review: setModelSelection merges — a selection without options keeps the
draft's existing options, so carrying a thread whose model has no
options (default effort/context window) left the resurrected draft's
stale option state in place. Add a replaceOptions flag for callers
passing a complete snapshot and use it for the working-mode carry.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent 55a7695 commit fcae817
2 files changed
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
409 | 418 | | |
410 | 419 | | |
411 | 420 | | |
| |||
2594 | 2603 | | |
2595 | 2604 | | |
2596 | 2605 | | |
2597 | | - | |
| 2606 | + | |
2598 | 2607 | | |
2599 | 2608 | | |
2600 | 2609 | | |
| |||
2609 | 2618 | | |
2610 | 2619 | | |
2611 | 2620 | | |
2612 | | - | |
2613 | | - | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
2614 | 2625 | | |
2615 | 2626 | | |
2616 | 2627 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
176 | 181 | | |
177 | 182 | | |
178 | 183 | | |
| |||
253 | 258 | | |
254 | 259 | | |
255 | 260 | | |
256 | | - | |
257 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
258 | 265 | | |
259 | 266 | | |
260 | 267 | | |
| |||
0 commit comments