CalciumIon
69e44a03b1
refactor: Simplify OpenAI handler function signature and remove unused TextResponseWithError struct; introduce common_handler for rerank functionality
2025-03-14 17:31:05 +08:00
Calcium-Ion
e5b6aa6e85
Merge pull request #857 from asjfoajs/main
...
Refactor: Optimize the ImageHandler under the Alibaba large model to …
2025-03-13 19:51:08 +08:00
1808837298@qq.com
7e46d4217d
feat: 初步兼容流模式下openai渠道类型转为claude格式访问 #862
2025-03-13 19:32:08 +08:00
霍雨佳
23596d22c9
Refactor: Optimize the ImageHandler under the Alibaba large model to retrieve the key from the header.
...
Reason: The info parameter already includes the key, so there is no need to retrieve it again from the header.
Solution: Delete the code for obtaining the key and directly use info.ApiKey.
2025-03-13 08:54:45 +08:00
1808837298@qq.com
bd48f43410
feat: claude relay
2025-03-12 21:31:46 +08:00
霍雨佳
434e9d7695
Fix: Under Ali's large model, the task ID result for image retrieval is incorrect.
...
Reason: The URL is incomplete, missing baseurl.
Solution: Add baseurl. url := fmt.Sprintf("%s/api/v1/tasks/%s", info.BaseUrl, taskID).
2025-03-10 16:22:40 +08:00
1808837298@qq.com
37a83ecc33
refactor: Centralize stream handling and helper functions in relay package
2025-03-05 19:47:41 +08:00
1808837298@qq.com
f5e3063f33
feat: Improve embedding request handling and support across channels
...
- Update EmbeddingRequest DTO to support more flexible input types
- Add input parsing method to handle various input formats
- Implement ConvertEmbeddingRequest for multiple channel adaptors
- Remove relayMode parameter from EmbeddingHelper
- Add input validation for embedding requests
- Simplify embedding request conversion for different channels
2025-02-12 14:39:36 +08:00
Jerry
7588c42b42
Fix M3E not working
2025-01-23 05:54:39 +08:00
1808837298@qq.com
33af069fae
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
CalciumIon
e84300f4ae
chore: gopool
2024-07-19 01:07:37 +08:00
CalciumIon
c9100b219f
feat: support ali image
2024-07-19 00:45:52 +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
8af4e28f75
feat: support cohere rerank
2024-07-06 17:09:22 +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
97dd80541b
fix: 请求阿里通义千问异常 ( close #108 )
2024-03-11 14:35:46 +08:00
1808837298@qq.com
626217fbd4
fix: 修复流模式错误扣费的问题 ( close #95 )
2024-03-06 17:41:55 +08:00
1808837298@qq.com
3ab4f145db
feat: 支持部分渠道的system角色 ( close #89 )
2024-03-06 14:16:04 +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