Artifact 8c6726b4cc6ae896b8a9656b7a5a647a28181818521c51f8a2747ebb6483dad5:
- File
test/fuzz/sse.dict
— 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: 637) [annotate] [blame] [check-ins using] [more...]
"event: " "data: " "\x0a\x0a" "\x0d\x0a" ": " "message_start" "content_block_start" "content_block_delta" "content_block_stop" "message_delta" "message_stop" "ping" "error" "text_delta" "thinking_delta" "signature_delta" "input_json_delta" "partial_json" "\"type\":" "\"index\":" "\"delta\":" "\"content_block\":" "\"message\":" "\"usage\":" "\"stop_reason\":" "tool_use" "thinking" "\"input\":{}" "[DONE]" "choices" "delta" "tool_calls" "finish_reason" "reasoning_content" "reasoning_details" "arguments" "\"index\":" "usage" "response.output_item.done" "response.completed" "output_index" "function_call" "encrypted_content" "call_id"