CaIon
0f35d2368f
✨ feat: enhance group ratio handling in pricing calculations
2025-06-17 21:05:35 +08:00
creamlike1024
7fa21ce95f
feat: auto分组
2025-06-16 22:15:12 +08:00
Calcium-Ion
358af20ad1
Merge pull request #1207 from QuantumNous/user_group_ratio
...
feat: 分组特殊倍率
2025-06-13 01:25:46 +08:00
creamlike1024
a28ab3628a
feat: 分组特殊倍率
2025-06-11 23:46:59 +08:00
CaIon
f124404f07
🔧 fix(stream_scanner): improve resource management and error handling in StreamScannerHandler
2025-06-11 00:18:16 +08:00
skynono
40efa73a42
fix: correct formatting string in PriceData.ToSetting to handle ImageRatio as float instead of integer
2025-05-09 17:12:35 +08:00
creamlike1024
ec61534256
feat: send SSE ping before get response
2025-05-09 13:57:00 +08:00
creamlike1024
2a218c1c89
Merge branch 'fix/sse_ping' of github.com:9Ninety/new-api into 9Ninety-fix/sse_ping
2025-05-09 12:28:05 +08:00
9
02acc52fdb
fix: ensure SSE ping packets are sent before upstream response
...
These changes ensures SSE ping packets are sent before receiving a response from the upstream. The previous implementation did not send ping packets until after the upstream response, rendering the feature ineffective.
2025-05-07 23:29:06 +08:00
CaIon
dc3b453b05
fix: update ResponseChunkData to format data correctly without newline
2025-05-07 17:02:47 +08:00
joey
65ccfd0848
feat: support model mapping chain
...
#1033
2025-05-07 16:00:35 +08:00
CaIon
419a056fbf
refactor: remove unnecessary call to helper.Done and adjust data rendering in ClaudeChunkData
2025-05-04 17:35:45 +08:00
CaIon
fe3232bf23
feat: enhance OaiResponsesStreamHandler to handle output text and improve response streaming
2025-05-04 17:09:37 +08:00
xyfacai
f9f32a0158
feat: support /images/edit
...
(cherry picked from commit 1c0a1238787d490f02dd9269b616580a16604180)
2025-04-26 15:44:56 +08:00
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