Commit e6bfff8
committed
feat: improve error handling and cancellation behavior in AI assistant
- Display error (include exception) in current window
- Improve cancellation behavior to preserve current `IsGenerating` state for proper UI updates
Signed-off-by: leo <longshuang@msn.cn>1 parent 446c806 commit e6bfff8
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| |||
0 commit comments