ui: drop tool calls cut off by Stop from the next request (#32738)
* ui: drop tool calls cut off by Stop from the next request
A tool call stopped mid-stream could stay on its message with cut-off
arguments. The server parses every call's arguments as JSON, so the next
message in that chat ("Continue") failed with "Failed to parse tool call
arguments as JSON". Requests now leave such calls out, with the tool results
that answer them, and send a call with no arguments as {}.
Assisted-by: Claude (Opus 5.5 Medium)
* ui: add a demo trace that ends in a stopped tool call
A conversation whose last tool call was stopped while its arguments were
still streaming, for recording the fix in the previous commit.
Assisted-by: Claude (Opus 5.5 Medium)