CaIon
281054ff4c
🐛 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
3002659f47
✨ feat: add CloseResponseBodyGracefully function to handle HTTP response body closure
2025-06-27 21:37:13 +08:00
CaIon
a9e5d99ea3
refactor: token counter logic
2025-06-21 00:54:40 +08:00
Xyfacai
b778cd2b23
refactor: message content 改成 any
...
refactor: message content 改成 any
2025-06-07 23:47:22 +08:00
creamlike1024
425feb88d8
feat: support /v1/responses API
2025-05-02 13:59:46 +08:00
1808837298@qq.com
7e46d4217d
feat: 初步兼容流模式下openai渠道类型转为claude格式访问 #862
2025-03-13 19:32:08 +08:00
1808837298@qq.com
bd48f43410
feat: claude relay
2025-03-12 21:31:46 +08:00
1808837298@qq.com
37a83ecc33
refactor: Centralize stream handling and helper functions in relay package
2025-03-05 19:47:41 +08:00
kuwork
89d48a6618
Merge branch 'main' into main
2025-02-04 22:52:37 +08:00
Jerry
7588c42b42
Fix M3E not working
2025-01-23 05:54:39 +08:00
Butui Hu
eda7ef50e0
Fix temperature not being set to 0 due to json omitempty
...
The issue was caused by the `omitempty` tag in the Go struct, which prevented the `temperature` field from being included in the JSON output when it was set to 0.
Signed-off-by: Butui Hu <hot123tea123@gmail.com >
2025-01-21 12:54:09 +08:00
CalciumIon
195ab1fdd5
feat: add gemini tool_calls finish reason
2024-12-06 14:31:27 +08:00
1808837298@qq.com
33af069fae
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
CalciumIon
bcc7f3edb2
refactor: audio relay
2024-07-16 22:07:10 +08:00
CalciumIon
0f687aab9a
fix: azure stream options
2024-07-15 16:05:30 +08:00
CalciumIon
b75134ece4
fix: hunyuan
2024-07-08 23:42:16 +08:00
CalciumIon
8af4e28f75
feat: support cohere rerank
2024-07-06 17:09:22 +08:00
CalciumIon
eb382d28ab
feat: update baidu
2024-07-05 20:22:30 +08:00
CalciumIon
6c5b3b51b0
fix: try to fix tencent hunyuan #336
2024-07-05 20:00:52 +08:00
CalciumIon
77d14561ac
fix: try to fix hunyuan ( close #303 )
2024-06-21 14:56:45 +08:00
CaIon
d1c8947851
fix: 规范claude返回格式
2024-04-25 23:57:39 +08:00
CaIon
44a8ade4ba
fix: remove sensitive check on completion ( close #157 )
2024-03-29 22:20:14 +08:00
CaIon
64b9d3b58c
feat: 初步兼容生成内容检查
2024-03-20 19:00:51 +08:00
CaIon
7a663d26ec
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
1808837298@qq.com
626217fbd4
fix: 修复流模式错误扣费的问题 ( close #95 )
2024-03-06 17:41:55 +08:00
1808837298@qq.com
6013219f5b
feat: 初步重构完成
2024-02-29 16:21:25 +08:00
1808837298@qq.com
5b18cd6b0a
feat: 初步重构
2024-02-29 01:08:18 +08:00