Commit ab1b377
Fix duplicate on-prepare-tool-call with Copilot encrypted IDs
The when-not guard in response.completed checked by item-id key,
but Copilot returns different encrypted item IDs in streaming vs
output. Check by call_id value instead, which is consistent across
both, preventing duplicate prepare calls and stale atom entries.
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca <git@eca.dev>1 parent 99993f4 commit ab1b377
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| |||
0 commit comments