"vscode:/vscode.git/clone" did not exist on "e9ec2280ecd7ad8200c7e53476a2e5841b2e5337"
Unverified Commit cdb64b0d authored by kunish's avatar kunish
Browse files

fix: remove SSE termination marker from DefaultStopSequences

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.
parent 826090e0
......@@ -189,6 +189,5 @@ var DefaultStopSequences = []string{
"<|user|>",
"<|endoftext|>",
"<|end_of_turn|>",
"[DONE]",
"\n\nHuman:",
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment