Commit e7f293b
authored
fix: Only show "Cancelled" for explicitly cancelled turns (#1467)
## Problem
Tool calls pending permission incorrectly flash "(Cancelled)" because wasCancelled triggers on turnComplete, not just turnCancelled.
Closes #1267
## Changes
1. Remove turnComplete from wasCancelled check in useToolCallStatus
2. Only show "(Cancelled)" when stopReason is actually "cancelled"
## How did you test this?
Manually1 parent 3f61990 commit e7f293b
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments