1808837298@qq.com
b93827c425
feat: support dify upload image file
2025-03-15 19:10:12 +08:00
1808837298@qq.com
78fc3a191c
feat: claude relay
2025-03-12 21:31:46 +08:00
1808837298@qq.com
b640118d74
feat: Implement cache token ratio for more precise token pricing
2025-03-08 01:30:50 +08:00
1808837298@qq.com
485face2c0
feat: Add self-use mode for model ratio and price configuration
...
- Introduce `SelfUseModeEnabled` setting to allow flexible model ratio configuration
- Update error handling to provide more informative messages when model ratios are not set
- Modify pricing and relay logic to support self-use mode
- Add UI toggle for enabling self-use mode in operation settings
- Implement fallback mechanism for model ratios when self-use mode is enabled
2025-03-01 21:13:48 +08:00
1808837298@qq.com
0646fa1892
fix: gemini&claude tool call format #795 #766
2025-02-26 23:56:10 +08:00
1808837298@qq.com
fd44ac7c0c
feat: Enhance token counting and content parsing for messages
2025-02-24 14:18:15 +08:00
1808837298@qq.com
61ad1adbda
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
1808837298@qq.com
16afc5b3d6
fix: retry prompt tokens
2025-01-02 16:33:00 +08:00
CalciumIon
e326679b72
feat: add multi-file type support for Gemini and Claude
...
- Add file data DTO for structured file handling
- Implement file decoder service
- Update Claude and Gemini relay channels to handle various file types
- Reorganize worker service to cf_worker for clarity
- Update token counter and image service for new file types
2024-12-29 00:00:24 +08:00
CalciumIon
5bbc730a6f
feat: update o1 default token encoder
2024-12-27 15:03:10 +08:00
CalciumIon
62469a5226
feat: support azure stream_options
2024-12-26 22:51:06 +08:00
1808837298@qq.com
efd7ea075e
feat: azure realtime
...
(cherry picked from commit 75ff3d98f06103dc2df1f8817bd3fcbf433e0f20)
2024-11-05 19:27:55 +08:00
1808837298@qq.com
1307a23f01
feat: realtime
...
(cherry picked from commit d4966246e68dbdcdab45ec5c5141362834d74425)
2024-11-05 19:27:47 +08:00
1808837298@qq.com
9e4133a890
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
CalciumIon
c5633221f0
feat: support gpt-4o-audio-preview
2024-11-04 15:27:12 +08:00
CalciumIon
28c9675e61
feat: update chatgpt-4o token encoder
2024-09-05 18:35:34 +08:00
CalciumIon
09401526dc
feat: support gpt-4o-mini image tokens
2024-07-19 12:59:37 +08:00
CalciumIon
34c356b041
feat: 媒体请求计费选项
2024-07-18 17:04:19 +08:00
1808837298@qq.com
1f4770fa50
feat: update token encoder
2024-05-30 23:15:06 +08:00
1808837298@qq.com
1760ec1396
Merge remote-tracking branch 'origin/main'
2024-05-30 21:46:22 +08:00
1808837298@qq.com
2254b1c422
feat: update tiktoken
2024-05-30 21:45:58 +08:00
1808837298@qq.com
893dafb89f
feat: 支持设置worker访问请求中的图片地址
2024-05-28 17:59:53 +08:00
1808837298@qq.com
f723ff9ba0
feat: 增加重置模型倍率功能 ( close #62 )
2024-05-24 15:28:16 +08:00
1808837298@qq.com
313c16f360
refactor: 重构敏感词
2024-05-23 23:59:55 +08:00
CaIon
e65b85d649
chore: token counter
2024-05-18 15:14:49 +08:00
CaIon
8563334f4c
chore: update InitTokenEncoders ( #255 )
2024-05-15 16:32:00 +08:00
CaIon
456be72de2
chore: update tiktoken ( #254 )
2024-05-15 14:18:29 +08:00
CaIon
8e3c527640
fix: 规范claude返回格式
2024-04-26 02:56:35 +08:00
CaIon
d0500cf1e2
fix: close #218
2024-04-24 14:44:24 +08:00
CaIon
22aaa61078
refactor: 重构计费代码
2024-04-23 23:51:27 +08:00
CaIon
86ab64ec67
feat: 完善函数计费
2024-04-23 23:01:06 +08:00
CaIon
3839838937
feat: 启用函数计费
2024-04-22 16:35:56 +08:00
CaIon
4a28a66c51
fix: CountTokenInput
2024-03-26 18:49:53 +08:00
CaIon
06f1e34efc
fix: CountTokenInput
2024-03-26 18:21:38 +08:00
CaIon
af690ed07a
fix: 模型固定价格为空时错误使用默认价格
2024-03-23 17:19:29 +08:00
CaIon
5aad98d736
feat: 统一错误提示
2024-03-20 20:36:55 +08:00
CaIon
14892a6582
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
84ca046435
feat: support claude3 not stream
2024-03-08 18:26:18 +08:00
1808837298@qq.com
6ada7b87b6
feat: 支持智谱GLM-4V
2024-02-29 18:31:03 +08:00
1808837298@qq.com
436afe925e
feat: 初步重构完成
2024-02-29 16:21:25 +08:00
1808837298@qq.com
1735981217
feat: 初步重构
2024-02-29 01:08:18 +08:00