Ethan0x0000
68f151f5c0
feat(apicompat): add Responses↔Anthropic bidirectional format conversion
Add reverse-direction converters for Anthropic platform groups to accept
OpenAI-format requests:
- ResponsesToAnthropicRequest: Responses API input → Anthropic Messages
request with system extraction, tool/toolChoice mapping, reasoning
effort conversion, image data URI↔base64, and consecutive role merging
- AnthropicToResponsesResponse: Anthropic response → Responses response
with content block→output item mapping, usage, stop_reason→status
- AnthropicEventToResponsesEvents: stateful SSE stream converter
(Anthropic streaming protocol → Responses streaming protocol)
- FinalizeAnthropicResponsesStream: synthetic termination for
incomplete streams
2026-03-23 16:24:09 +08:00
..
2026-03-12 16:53:18 +08:00
2026-03-18 15:03:24 +08:00
2026-03-21 23:49:50 +08:00
2026-02-10 11:42:39 +08:00
2026-03-23 16:24:09 +08:00
2026-03-21 23:38:00 +08:00
2026-03-20 09:17:32 +08:00
2026-03-21 23:49:50 +08:00
2026-03-17 15:38:18 +08:00
2026-03-09 19:55:18 +08:00
2026-02-28 15:01:20 +08:00
2026-03-18 14:13:52 +08:00