Artifact 146425f13fff6630980d87e35b3c50e6dc457b136460b2977b8dbc8ee7896a92:
- File
test/pic/chat-streams/truncated.want
-
2026-11-19 00:56:53
— part of check-in
[55cff08c2c]
on branch stage-4
— Add the Chat Completions adapter for OpenAI, OpenRouter and compatibles
A chunk decoder following Pi: text, reasoning from reasoning_content, reasoning or reasoning_text kept under its field, OpenRouter reasoning_details verbatim, tool calls by index, usage, finish_reason, and in-stream errors. Requests follow Pi too: system or developer role, tools as functions, tool messages, stream_options, store and reasoning by dialect. The retry loop and header assembly move into a shared module both adapters use. Recorded streams, a fuzz target and fake server cases cover it, including a conversation moving between the two APIs in both directions. (user: dmestas, size: 81) [annotate] [blame] [check-ins using]
-
2026-11-19 01:39:38
— part of check-in
[aca81cd9e3]
on branch trunk
— Land stage 4: any model
A model registry, a provider-neutral journal, and adapters for the Messages API, Chat Completions (OpenAI, OpenRouter and compatible servers) and OpenAI Responses, with conversations moving between them. (user: dmestas, size: 81) [annotate] [blame] [check-ins using]
-
2026-11-19 00:56:53
— part of check-in
[55cff08c2c]
on branch stage-4
— Add the Chat Completions adapter for OpenAI, OpenRouter and compatibles
- File
test/pic/responses-streams/truncated.want
-
2026-11-19 01:08:50
— part of check-in
[dd694d986b]
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: 81) [annotate] [blame] [check-ins using]
-
2026-11-19 01:39:38
— part of check-in
[aca81cd9e3]
on branch trunk
— Land stage 4: any model
A model registry, a provider-neutral journal, and adapters for the Messages API, Chat Completions (OpenAI, OpenRouter and compatible servers) and OpenAI Responses, with conversations moving between them. (user: dmestas, size: 81) [annotate] [blame] [check-ins using]
-
2026-11-19 01:08:50
— part of check-in
[dd694d986b]
on branch stage-4
— Add the OpenAI Responses adapter