Commit 4f794ad
fix: improve cancellation support for force cancel (#2)
Add cancellation check after provider.complete() returns, before
processing the response. This allows force cancel to take effect
immediately after the provider call completes.
Root cause: No cancellation checks during blocking provider calls
meant force cancel (double Ctrl+C) wasn't working during initial
LLM request.
Verified: Shadow smoke test passed 100/100
🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)
Co-authored-by: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>1 parent 9b14e80 commit 4f794ad
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
239 | 254 | | |
240 | 255 | | |
241 | 256 | | |
| |||
0 commit comments