Overview
| Comment: | Benchmark each decoder and parse a chat chunk in one cached query
make bench-pic now decodes one realistic reply (500 text deltas and a 50-piece tool call) per API. It showed the Chat Completions decoder at 9.8ms against 1.3ms for the Messages API decoder, because it compiled about ten statements per chunk; one cached query per chunk and per tool delta brings it to 1.9ms. The baseline gains the decoder rows. |
|---|---|
| Timelines: | family | ancestors | descendants | both | stage-4 |
| Files: | files | file ages | folders |
| SHA3-256: |
0e4ade46bb8caf46d37c1fa127d4162a |
| User & Date: | dmestas on 2026-11-19 01:15:51.778 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-19
| ||
| 01:16 | Fil-C payload: build all three decoders and run the registry tests check-in: 6ecb1963da user: dmestas tags: stage-4 | |
| 01:15 |
Benchmark each decoder and parse a chat chunk in one cached query
make bench-pic now decodes one realistic reply (500 text deltas and a 50-piece tool call) per API. It showed the Chat Completions decoder at 9.8ms against 1.3ms for the Messages API decoder, because it compiled about ten statements per chunk; one cached query per chunk and per tool delta brings it to 1.9ms. The baseline gains the decoder rows. check-in: 0e4ade46bb user: dmestas tags: stage-4 | |
| 01:08 |
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. check-in: dd694d986b user: dmestas tags: stage-4 | |