mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-03-30 05:43:48 +00:00
The SSE stream termination marker string was incorrectly included in DefaultStopSequences, causing Gemini to prematurely stop generating output whenever the model produced text containing that marker. The SSE-level protocol filtering in stream_transformer.go already handles this marker correctly; it should not be a stop sequence for the model's text generation.