Files
cc-switch/src-tauri/src/services
T
YoVinchen cef3812745 fix(stream-check): use Gemini native streaming API format
- Change endpoint from OpenAI-compatible to native streamGenerateContent
- Add alt=sse parameter for SSE format response
- Use x-goog-api-key header instead of Bearer token
- Convert request body to Gemini contents/parts format
cef3812745 ยท 2026-01-20 14:39:12 +08:00
History
..
2026-01-11 20:50:54 +08:00
2026-01-13 10:55:53 +08:00