CaIon
6db7a84787
🐛 fix: replace direct response body closure with common.CloseResponseBodyGracefully for improved error handling
...
This update standardizes the closure of HTTP response bodies across multiple stream handlers, enhancing error management and resource cleanup. The new method ensures that any errors during closure are handled gracefully, preventing potential request termination issues.
2025-06-27 21:40:36 +08:00
CaIon
ae586e1be9
✨ feat: add CloseResponseBodyGracefully function to handle HTTP response body closure
2025-06-27 21:37:13 +08:00
CaIon
16997a695d
refactor: token counter logic
2025-06-21 00:54:40 +08:00
CaIon
af103dcc7f
🧹 chore(relay): remove unused import in relay-palm.go
2025-06-17 00:09:26 +08:00
CaIon
288f279379
🔧 refactor(relay): replace UUID generation with helper function for response IDs
2025-06-16 21:02:27 +08:00
Xyfacai
8343fe0740
refactor: message content 改成 any
...
refactor: message content 改成 any
2025-06-07 23:47:22 +08:00
1808837298@qq.com
d647214555
refactor: Centralize stream handling and helper functions in relay package
2025-03-05 19:47:41 +08:00
CalciumIon
246c3fa451
feat: add gemini tool_calls finish reason
2024-12-06 14:31:27 +08:00
1808837298@qq.com
1307a23f01
feat: realtime
...
(cherry picked from commit d4966246e68dbdcdab45ec5c5141362834d74425)
2024-11-05 19:27:47 +08:00
1808837298@qq.com
313c16f360
refactor: 重构敏感词
2024-05-23 23:59:55 +08:00
CaIon
483e1c46d2
fix: 规范claude返回格式
2024-04-25 23:57:39 +08:00
CaIon
54c18dc89e
fix: remove sensitive check on completion ( close #157 )
2024-03-29 22:20:14 +08:00
CaIon
5aad98d736
feat: 统一错误提示
2024-03-20 20:36:55 +08:00
CaIon
14892a6582
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
1808837298@qq.com
d703cccc8a
fix: 修复流模式错误扣费的问题 ( close #95 )
2024-03-06 17:41:55 +08:00
1808837298@qq.com
1735981217
feat: 初步重构
2024-02-29 01:08:18 +08:00