Files
new-api/dto
D26FORWARD 23fde25b15 fix(gemini): detect streaming from URL path :streamGenerateContent
Google's native Gemini API uses the URL action :streamGenerateContent
to indicate streaming intent, not just the ?alt=sse query parameter.
The current IsStream() only checks c.Query("alt") == "sse", causing
all :streamGenerateContent requests (without ?alt=sse) to be treated
as non-streaming.

This adds a strings.Contains check for "streamGenerateContent" in the
request URL path, so both streaming indicators are recognized.
2026-04-04 16:11:13 +08:00
..
2026-03-03 14:08:43 +08:00
2026-01-14 22:29:43 +08:00
2024-09-26 00:59:09 +08:00
2026-01-10 22:23:31 +08:00
2025-06-19 11:53:42 +08:00