Calcium-Ion
a0ca3effa7
Merge pull request #830 from Calcium-Ion/decimal
...
feat: Improve decimal precision for quota and payment calculationsDecimal
2025-03-08 22:01:15 +08:00
1808837298@qq.com
5a10ebd384
refactor: Update topup amount type from int to int64 for improved precision
2025-03-08 21:59:18 +08:00
1808837298@qq.com
68097c132d
feat: Improve decimal precision for quota and payment calculations
...
- Added github.com/shopspring/decimal for precise floating-point calculations
- Refactored quota and payment calculations in multiple files to use decimal arithmetic
- Updated go.mod and go.sum to include decimal library
- Improved precision in topup, relay, and quota service calculations
- Added support for more OpenAI model variants in cache ratio settings
2025-03-08 21:55:50 +08:00
Calcium-Ion
3352bacd35
Merge pull request #828 from Calcium-Ion/ui
...
feat: Add column visibility settings for Channels and Logs tables
2025-03-08 19:55:28 +08:00
1808837298@qq.com
7fcb14e25f
feat: Add column visibility settings for Channels and Logs tables
...
- Implemented dynamic column visibility for ChannelsTable and LogsTable
- Added localStorage persistence for column preferences
- Introduced column selector modal with select all/reset functionality
- Supported role-based default column visibility
- Added column settings button to table interfaces
2025-03-08 19:53:07 +08:00
1808837298@qq.com
867187ab4d
refactor: Simplify chat menu items rendering in SiderBar
2025-03-08 19:06:49 +08:00
1808837298@qq.com
3ad96d3b4e
feat: update readme and i18n
2025-03-08 18:13:44 +08:00
Calcium-Ion
d9390ff4c3
Merge pull request #826 from Calcium-Ion/cache
...
feat: Add prompt cache hit tokens support for DeepSeek channel #406
2025-03-08 16:52:19 +08:00
1808837298@qq.com
8c209e2fb9
fix: Adjust DeepSeek cache ratio to 0.1
2025-03-08 16:51:43 +08:00
1808837298@qq.com
a9bfcb0daf
feat: Add prompt cache hit tokens support for DeepSeek channel #406
2025-03-08 16:50:53 +08:00
1808837298@qq.com
bb848b2fe0
refactor: Improve quota calculation precision using floating-point arithmetic
2025-03-08 16:44:08 +08:00
Calcium-Ion
618908f6f8
Merge pull request #821 from Calcium-Ion/cache
...
chore: Update terminology from "cache ratio" to "cache multiplier" in UI and add placeholder for default create cache ratio
2025-03-08 02:49:21 +08:00
1808837298@qq.com
1f4ebddcfa
fix: Update default cache ratio from 0.5 to 1
2025-03-08 02:47:41 +08:00
1808837298@qq.com
6d79d8993e
chore: Update terminology from "cache ratio" to "cache multiplier" in UI and add placeholder for default create cache ratio
2025-03-08 02:44:09 +08:00
Calcium-Ion
7c03ad71de
Merge pull request #820 from Calcium-Ion/cache
...
feat: Implement cache token ratio for more precise token pricing
2025-03-08 01:31:44 +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
81137e0533
refactor: Remove redundant user quota retrieval in audio relay
2025-03-07 19:59:00 +08:00
Calcium-Ion
b9b66dda54
Merge pull request #815 from Sh1n3zZ/openrouter-adapter
...
fix: adapting return format for openrouter think content (#793 )
2025-03-07 19:25:20 +08:00
1808837298@qq.com
fd22948ead
refactor: Reorganize sidebar navigation and add personal settings route
2025-03-07 17:22:37 +08:00
Sh1n3zZ
894dce7366
fix: possible incomplete return of the think field and incorrect occurrences of the reasoning field
2025-03-06 19:20:29 +08:00
Sh1n3zZ
b95142bbac
fix: adapting return format for openrouter think content ( #793 )
2025-03-06 19:16:26 +08:00
1808837298@qq.com
7f74a9664e
feat: Enhance channel status update with success tracking and dynamic notification #812
2025-03-06 17:46:03 +08:00
1808837298@qq.com
a3739f67f7
fix: Handle error in NotifyRootUser and log system errors #812
2025-03-06 17:25:39 +08:00
1808837298@qq.com
b841ce006f
refactor: Improve model request rate limit middleware execution
2025-03-06 16:32:11 +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
37bb34b4b0
Update README.md
2025-03-05 16:55:17 +08:00
1808837298@qq.com
8deab221f9
fix: vertex claude
2025-03-05 16:43:40 +08:00
1808837298@qq.com
17e9f1a07d
fix : #810
2025-03-05 16:39:42 +08:00
1808837298@qq.com
792754cee3
fix : #810
2025-03-05 16:34:08 +08:00
1808837298@qq.com
98b27a17a6
refactor: Extract operation-related settings into a separate package
2025-03-04 18:52:08 +08:00
1808837298@qq.com
7855f83e2d
Update README.md
2025-03-04 18:50:05 +08:00
1808837298@qq.com
cbdf26bf2c
feat: Add context-aware goroutine pool for safer concurrent operations
2025-03-04 18:42:34 +08:00
1808837298@qq.com
eb46b71a71
fix: Ignore EOF errors in OpenAI stream scanner
2025-03-04 17:35:41 +08:00
1808837298@qq.com
a42c3b6227
Merge remote-tracking branch 'origin/main'
2025-03-04 17:11:07 +08:00
1808837298@qq.com
b00dd8b405
fix: Handle scanner errors in OpenAI relay stream handler
2025-03-04 17:10:56 +08:00
Calcium-Ion
be228ccd2c
Merge pull request #805 from PaperPlaneDeemo/main
...
Fix: fix typo in README
2025-03-04 16:27:15 +08:00
1808837298@qq.com
b1be64bcf3
fix: vertex claude
2025-03-03 20:06:08 +08:00
1808837298@qq.com
6ecfb81cbc
feat: Improve image download and validation in GetImageFromUrl
2025-03-03 16:15:04 +08:00
Nekof
14848ff789
Merge branch 'Calcium-Ion:main' into main
2025-03-03 11:37:40 +08:00
“Deemo”
47d3b515da
fix: Typo in README
2025-03-03 11:35:04 +08:00
1808837298@qq.com
760514c3e1
fix: channel test model mapped
2025-03-02 23:53:10 +08:00
1808837298@qq.com
254c25c27a
feat: yanjingxia
2025-03-02 23:17:37 +08:00
1808837298@qq.com
8731a32e56
feat: Add model testing modal with search functionality in ChannelsTable
...
- Implement a new modal for selecting and testing models per channel
- Add search functionality to filter models by keyword
- Replace dropdown with direct button for model testing
- Introduce new state variables for managing model test modal
2025-03-02 19:53:35 +08:00
1808837298@qq.com
7208a65e5d
refactor: Add index to Username column in Log model
2025-03-02 17:57:52 +08:00
1808837298@qq.com
4084b18071
refactor: Update rate limit configuration to use dynamic expiration duration
2025-03-02 17:34:39 +08:00
1808837298@qq.com
2ca0d7246d
fix: Use channel group in model testing log record
2025-03-02 15:59:39 +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
816e831a2e
feat: Persist models expanded state in PersonalSetting component
2025-03-02 01:35:50 +08:00