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-05 13:54:37 +08:00
2026-05-29 09:56:48 +08:00
2026-06-10 00:15:51 +08:00
2026-06-02 14:59:18 +08:00
2026-06-06 22:32:37 +08:00
2026-06-08 22:54:01 +08:00
2026-06-08 09:08:23 +08:00
2026-06-10 00:16:08 +08:00
2026-06-05 20:48:04 +08:00
2026-04-23 15:13:57 +00:00