Repository navigation
Commit 8a47c72
fix(server): leaving an agent no longer keeps the agent's old thread
Moving an agent task to Continue or Fresh session with no thread chosen sent
profileId: null and threadId: null, and the save coalesced the null back to
the agent's thread. Later runs then went into that conversation with its
model and modes. Leaving an agent with an explicit null thread now clears the
binding; an omitted threadId still keeps it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 6da755c commit 8a47c72
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
144 | 159 | | |
145 | 160 | | |
146 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
1494 | | - | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
1495 | 1502 | | |
1496 | 1503 | | |
1497 | 1504 | | |
| |||
0 commit comments