CaIon
ae586e1be9
✨ feat: add CloseResponseBodyGracefully function to handle HTTP response body closure
2025-06-27 21:37:13 +08:00
CaIon
2c0fd2915b
fix: improve usage calculation in GeminiTextGenerationStreamHandler
2025-06-21 01:08:15 +08:00
CaIon
16997a695d
refactor: token counter logic
2025-06-21 00:54:40 +08:00
creamlike1024
4f3024ad63
fix: gemini 原生格式流模式中断请求未计费
2025-06-20 23:01:10 +08:00
CaIon
8ceaaf7819
fix: update response handling in GeminiTextGenerationStreamHandler
...
- Changed response handling from ObjectData to StringData for improved data processing.
- Ensured proper error logging in case of response handling failure.
2025-06-20 21:55:28 +08:00
CaIon
2b2e0a4777
feat: enhance error handling in GeminiHelper and streamline response processing
...
- Added status code mapping handling in GeminiHelper to reset status codes based on response.
- Removed redundant candidate check in GeminiTextGenerationHandler to simplify response processing.
2025-06-20 01:42:19 +08:00
creamlike1024
1271f8f648
update relay-gemini-native.go
2025-06-19 14:50:50 +08:00
xqx121
2541defbf4
Update relay-gemini-native.go
2025-06-18 14:26:23 +08:00
creamlike1024
0e9a193ed8
feat: gemini audio input billing
2025-06-07 12:26:23 +08:00
RedwindA
0827ebd22e
fix: 移除流式响应结尾的[Done],以适应Gemini API的行为
2025-06-04 15:41:25 +08:00
creamlike1024
253f487d80
gemini stream
2025-05-26 14:50:50 +08:00
creamlike1024
75d859dce2
gemini text generation
2025-05-26 13:34:41 +08:00