CaIon
4c4dc6e8b4
feat: add gemini thinking suffix support #981
2025-04-18 19:36:18 +08:00
CaIon
2f3acd9d22
feat: 添加流模式下的SSE保活机制 #945
2025-04-14 19:40:23 +08:00
Calcium-Ion
909c5eb276
Merge pull request #959 from Praying/main
...
fix(relay): 优化数据流处理
2025-04-10 17:21:55 +08:00
CaIon
8723e3f239
feat: add xAI handling and response processing
2025-04-10 17:20:59 +08:00
quran
9328b907f2
fix(relay): 优化数据流处理
...
- 移除了 bufio 的无效使用
- 在 StreamScannerHandler 中增加了初始和最大缓冲区大小的常量设置
- 调整 StreamScannerHandler 中缓冲区大小,避免出现token too long报错
2025-04-10 16:56:16 +08:00
CaIon
c418d9ed9a
✨ feat: Enhance user settings and notification options
2025-04-03 17:32:48 +08:00
1808837298@qq.com
dd82618c05
refactor: Improve token quota consumption logic
2025-03-17 17:52:54 +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
4f194f4e6a
feat: Implement cache token ratio for more precise token pricing
2025-03-08 01:30:50 +08:00
1808837298@qq.com
e3f9ef1894
fix: error NotifyRootUser #812
2025-03-06 15:56:42 +08:00
1808837298@qq.com
558e625a01
fix: Prevent resource leaks by adding body close in stream handlers
2025-03-05 19:51:22 +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
d042a1bd55
refactor: Improve channel testing and model price handling
2025-03-02 15:47:12 +08:00
1808837298@qq.com
7dbb6b017c
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
ce1854847b
fix: Enhance error message for missing model ratio configuration
2025-03-01 17:02:31 +08:00
1808837298@qq.com
a5085014cc
fix: Improve model ratio and price management
...
- Update error message for missing model ratio to be more user-friendly
- Modify ModelRatioNotSetEditor to filter models without price or ratio
- Enhance model data initialization with fallback values
2025-02-28 23:28:47 +08:00
1808837298@qq.com
152950497e
fix
2025-02-28 20:28:44 +08:00
1808837298@qq.com
d6fd50e382
feat: add new GPT-4.5 preview model ratios
2025-02-28 19:17:15 +08:00
1808837298@qq.com
06da65a9d0
refactor: Simplify model mapping and pricing logic across relay modules
2025-02-20 16:41:46 +08:00