Commit 8c0cbed
committed
fix(ai-chat): abort in-flight Claude query on destroySession
destroySession was nulling currentAbortController without calling
.abort() on it first, so clicking "+ New" while the AI was streaming
left the Claude query churning in the background. Now mirrors the
resumeSession path: abort first, then null. Adds i18n strings for the
new "AI is working" confirmation dialogs surfaced by the chat panel
when New / history-resume interrupt a streaming run.1 parent c21ad35 commit 8c0cbed
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
676 | 680 | | |
677 | | - | |
678 | 681 | | |
679 | 682 | | |
680 | 683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2368 | 2368 | | |
2369 | 2369 | | |
2370 | 2370 | | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
2371 | 2375 | | |
2372 | 2376 | | |
2373 | 2377 | | |
| |||
0 commit comments