Artifact e803f0fe85e3176403ae6933404a1a752e63687142406e05e0fe93e828093c0f:
- File
test/pic/responses-streams/incomplete.sse
— part of check-in
[dd694d986b]
at
2026-11-19 01:08:50
on branch stage-4
— Add the OpenAI Responses adapter
Output items are kept whole, so reasoning items with encrypted_content go back verbatim to the same model under store:false; the final output list is authoritative and fills in late encrypted_content. The neutral form follows Pi: reasoning to thinking, messages to text, function calls to tool calls with call_id|item_id ids. Requests send input items, function_call_output under the call ids, flat tools, and reasoning effort with encrypted reasoning for reasoning models. Recorded streams, a fuzz target and fake server cases cover it, including conversations moving between the Messages API and Responses both ways. (user: dmestas, size: 703) [annotate] [blame] [check-ins using] [more...]
event: response.created data: {"type":"response.created","response":{"id":"resp_3","status":"in_progress","output":[]}} event: response.output_item.done data: {"type":"response.output_item.done","output_index":0,"item":{"type":"message","id":"msg_1","role":"assistant","status":"completed","content":[{"type":"output_text","text":"Hello, \"world\"\n","annotations":[]}]}} event: response.incomplete data: {"type":"response.incomplete","response":{"id":"resp_3","status":"incomplete","incomplete_details":{"reason":"max_output_tokens"},"output":[{"type":"message","id":"msg_1","role":"assistant","status":"completed","content":[{"type":"output_text","text":"Hello, \"world\"\n","annotations":[]}]}]}}