Repository navigation
Commit 859b010
committed
fix(app): stop using orphaned assistant messages for working state
After a server restart or interrupted stream, assistant messages can be
left without time.completed. The animation and session list icon were
checking for these incomplete messages to determine if a session was
still working, causing them to show a permanent spinner even when the
session was idle.
Now all three working-state checks rely solely on session_status from
the backend, which is always correct after a fresh start.
Fixes anomalyco#17680, anomalyco#18828, anomalyco#21840, anomalyco#219391 parent dfaae14 commit 859b010
3 files changed
Lines changed: 3 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 154 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 155 | + | |
166 | 156 | | |
167 | 157 | | |
168 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | | - | |
1501 | | - | |
1502 | | - | |
1503 | | - | |
| 1500 | + | |
1504 | 1501 | | |
1505 | 1502 | | |
1506 | 1503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
0 commit comments