Repository navigation
Commit 8ab87d2
Mark Pollack
PromptCancellationSignalTest waits for the agent's cancel handler
The SDK answers a cancelled prompt and runs the agent's session/cancel
handler independently; with the in-memory delivery thread the answer can
reach the client first. With a 200 ms delay in the handler the test
failed every time; it now waits for the count.1 parent cdbb3fc commit 8ab87d2
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
146 | 160 | | |
0 commit comments