Files
CLIProxyAPI/internal/runtime/executor
Luis Pater 542dacc093 fix(executor): evaluate filter blocks before recording finish signals in Gemini and Vertex streams
- Check GeminiFilterBlockMessage and geminiPromptBlockErrorMessage before flushing buffered filter frames or setting sawFinishReason across GeminiExecutor and both GeminiVertexExecutor streaming loops so terminal and consecutive filter-blocked frames with promptFeedback.blockReason return HTTP 400.
- Preserve finish-signal tracking when a buffered frame is flushed by a subsequent normal response frame.
- Add streaming regression tests covering single and consecutive filter-blocked frames with SAFETY and PROHIBITED_CONTENT across Gemini, Vertex API key, and Vertex service account paths.

Closes: #8133
2026-11-26 01:09:08 +08:00
..