erio
20f3f2049b
fix(gateway): complete MarkResponseCommitted coverage for all platforms
Add MarkResponseCommitted to 7 error-writing helper functions and
4 early-return branches in OpenAI handlers, plus 3 inline c.Data paths.
Helper functions (1 line each, covers 60+ call sites):
- writeGatewayCCError, writeResponsesError (Anthropic compat)
- writeClaudeError, writeGoogleError (Gemini + Antigravity)
- writeChatCompletionsError (Gemini Chat Completions compat)
OpenAI handleErrorResponse/handleCompatErrorResponse:
- passthrough rule and ShouldHandleErrorCode branches return before
the existing MarkResponseCommitted, now each has its own Mark.
Inline c.Data: Gemini ForwardNative (2) + Antigravity ForwardGemini (1).
2026-06-10 00:16:08 +08:00
..
2026-06-08 01:47:21 +00:00
2026-06-08 00:01:30 +08:00
2026-06-10 00:16:08 +08:00
2026-06-08 00:01:30 +08:00
2026-05-29 16:29:29 +08:00
2026-06-03 09:48:46 +08:00
2026-06-03 14:24:50 +08:00