Commit d361777
committed
fix(server): keep done/finish_reason on combined tool_call+done SSE chunk
The streaming SSE consumer short-circuited with after emitting a
tool_call delta, so a publisher that carries done + finish_reason in the same
chunk as its final tool_call delta had them silently dropped: finish_reason
came out as "stop" and auto-resolve mode never fired the capability. Fall
through to the done check instead, matching the separate-chunk path.1 parent c0258b7 commit d361777
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1760 | 1760 | | |
1761 | 1761 | | |
1762 | 1762 | | |
1763 | | - | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
1764 | 1766 | | |
1765 | 1767 | | |
1766 | 1768 | | |
| |||
0 commit comments