RedwindA
49592897d5
feat(ratio): add new Gemini model ratios and enhance flash model handling
2025-06-18 01:09:09 +08:00
RedwindA
9209355f7d
refactor: replace inline closure with a helper function
2025-06-16 19:41:42 +08:00
RedwindA
1e1a6aae55
feat: implement thinking budget control in model name
2025-06-15 23:20:41 +08:00
creamlike1024
0e9a193ed8
feat: gemini audio input billing
2025-06-07 12:26:23 +08:00
CaIon
3cc1a79449
feat: add new model entries for Claude Sonnet 4 and Claude Opus 4 across multiple components, including constants and cache settings
2025-05-23 15:20:16 +08:00
CaIon
4978d63f46
feat: add new model ratios for Claude Sonnet 4 and Claude Opus 4; update ratio retrieval logic for improved handling of model names
2025-05-23 02:02:21 +08:00
creamlike1024
8cebbde4a0
chore: move file search tool price to operation_setting
2025-05-06 23:57:22 +08:00
creamlike1024
1db30c55af
chore: move web search tool price to operation_setting
2025-05-06 23:25:16 +08:00
CaIon
8b9ba91184
fix: update audio ratio logic for model names in GetAudioRatio function
2025-04-28 20:55:40 +08:00
CaIon
5bf1f2f275
refactor: rename InitModelSettings to InitRatioSettings
2025-04-26 17:15:34 +08:00
CaIon
e24d9bd8db
fix: update cacheRatioMap initialization in InitModelSettings function
2025-04-26 17:09:23 +08:00
CaIon
f4dcf8d6b6
feat: initialize cacheRatioMap in InitModelSettings function
2025-04-26 17:06:03 +08:00
xyfacai
873ebcf0c7
feat: support /images/edit
...
(cherry picked from commit 1c0a1238787d490f02dd9269b616580a16604180)
2025-04-26 15:44:56 +08:00
CaIon
d378543819
feat: add gemini thinking suffix support #981
2025-04-18 19:36:18 +08:00
CaIon
e3b262da1d
feat: 添加流模式下的SSE保活机制 #945
2025-04-14 19:40:23 +08:00
HynoR
4622c17c83
feat: add xai channel
...
feat: add xai channel
feat: add xai channel
2025-04-10 13:04:43 +08:00
CaIon
32db85607e
fix: Update model ratios for gemini-2.5-pro
2025-04-10 00:09:11 +08:00
CaIon
9dc851d6ef
feat: Initialize model settings and improve concurrency control in operation settings
2025-04-07 22:20:47 +08:00
CaIon
69d790b47a
Update model-ratio.go
2025-04-04 23:43:14 +08:00
CaIon
1e95160293
Update model-ratio.go
2025-04-04 23:41:41 +08:00
CaIon
ad7a64e585
Update model-ratio.go
2025-04-04 00:31:24 +08:00
1808837298@qq.com
638950c230
feat: Add new cache ratios for o3-mini and gpt-4.5-preview models
2025-03-27 18:47:50 +08:00
1808837298@qq.com
3b047b18fd
update model ratio
2025-03-27 17:02:09 +08:00
1808837298@qq.com
a696cf5832
feat: Enhance GetCompletionRatio function
2025-03-27 16:38:29 +08:00
1808837298@qq.com
29ef130794
update model ratio
2025-03-27 16:24:30 +08:00
1808837298@qq.com
78fc3a191c
feat: claude relay
2025-03-12 21:31:46 +08:00
1808837298@qq.com
6f9412ead3
feat: Introduce configurable docs link and remove hardcoded chat links
...
- Added a new GeneralSetting struct to manage configurable docs link
- Removed hardcoded ChatLink and ChatLink2 variables across multiple files
- Updated frontend components to dynamically render docs link from status
- Simplified chat and link-related logic in various components
- Added a warning modal for quota per unit setting in operation settings
2025-03-09 18:31:16 +08:00
1808837298@qq.com
0876bc3f7f
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
1808837298@qq.com
f939c28b7a
fix: Adjust DeepSeek cache ratio to 0.1
2025-03-08 16:51:43 +08:00
1808837298@qq.com
314878ff20
fix: Update default cache ratio from 0.5 to 1
2025-03-08 02:47:41 +08:00
1808837298@qq.com
ec818773f5
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
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
da79af07d2
refactor: Extract operation-related settings into a separate package
2025-03-04 18:52:08 +08:00