#1113's model wrote OpenAI's own wire shape as text, on a line of its
own: {"tool_calls":[{"id":…,"function":{…}}]}. OrcaTerm sends no tools
upstream, so such a reply is a call with nothing to call: it is now cut
where the call starts and the turn ends with the text_tool_call error,
the same as a <tool_call> block. Streamed, a last line that may still
grow into {"tool_calls":[{ (its indent too) is held until it settles.
Prose that mentions the shape, a fenced or backticked copy,
{"tool_calls":[]} and other JSON lines stay the answer.
Sibling: doubao-work 0.1.12 (4ea39f01) lifts the same shape as calls,
since doubao-work does carry tools.
Run (WSL magpie-desktop, HOME=$(mktemp -d)):
- packages/orcaterm bun test: 164 pass, 0 fail; jsoncall.test.mjs
covers 1-, 5- and 4096-character frames with #1113's bytes.
- Broken by hand: without the new regex alternative, all 4
jsoncall tests fail; restored, all pass.
- bun scripts/check.mjs orcaterm: ok.
Not tried: a real OrcaTerm account producing this reply.