Commit Graph

307 Commits

Author SHA1 Message Date
CalciumIon
bb48f5dcae update model ratio 2024-12-26 16:03:22 +08:00
CalciumIon
0d1ba65592 refactor: migrate group ratio and user usable groups logic to new setting package
- Replaced references to common.GroupRatio and common.UserUsableGroups with corresponding functions from the new setting package across multiple controllers and services.
- Introduced new setting functions for managing group ratios and user usable groups, enhancing code organization and maintainability.
- Updated related functions to ensure consistent behavior with the new setting package integration.
2024-12-25 19:31:12 +08:00
Yan
411d3a6251 fix: gemini func call 2024-12-24 20:46:02 +08:00
CalciumIon
a78f363af9 Merge remote-tracking branch 'origin/main' 2024-12-24 14:48:43 +08:00
CalciumIon
7e8adb5b34 feat: Enhance logging functionality with group support
- Added a new 'group' parameter to various logging functions, including RecordConsumeLog, GetAllLogs, and GetUserLogs, to allow for more granular log tracking.
- Updated the logs table component to display group information, improving the visibility of log data.
- Refactored related functions to accommodate the new group parameter, ensuring consistent handling across the application.
- Improved the initialization of the group column for PostgreSQL compatibility.
2024-12-24 14:48:11 +08:00
Yan
dbd412f852 fix: mutil func call in gemini 2024-12-23 01:26:14 +08:00
HynoR
d2ce69f8e9 feat: 适配o1模型 2024-12-20 22:09:02 +08:00
wzxjohn
b354af02a4 feat: support Azure Comm Service SMTP 2024-12-07 00:37:11 +08:00
CalciumIon
f9cf073a8f feat: add deepseek channel type 2024-12-05 17:50:08 +08:00
CalciumIon
c709ab7c0a fix: email panic 2024-12-04 22:08:47 +08:00
Benny
192fc094fc fix: 360智能接口地址更新 2024-12-02 15:59:08 +00:00
HynoR
1a2e5da179 Chore: support gpt-4o-2024-11-20 2024-11-21 09:14:23 +08:00
Calcium-Ion
9006d921d8 Merge pull request #493 from xixingya/feature/bug-fix
ratio must gte 0
2024-11-19 18:34:24 +08:00
licoy
af1f0a406d feat: 增加GLOBAL_API_RATE_LIMIT_ENABLEGLOBAL_WEB_RATE_LIMIT_ENABLE环境变量,支持是否开启访问速率控制 2024-11-12 20:02:33 +08:00
licoy
6d2a5a7150 feat: 增加GLOBAL_API_RATE_LIMIT_DURATIONGLOBAL_WEB_RATE_LIMIT_DURATION环境变量,支持控制访问速率时间设置 2024-11-12 20:01:43 +08:00
seefs001
12de1faca9 feat: integrate Linux DO OAuth authentication 2024-11-10 23:56:22 +08:00
CalciumIon
f66198b918 feat: 完善audio倍率 2024-11-07 16:42:08 +08:00
CalciumIon
37d6925ef6 feat: 完善audio计费 2024-11-07 16:12:09 +08:00
CalciumIon
0c6ed7750c feat: update model ratio 2024-11-06 19:33:50 +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
91aa48450a feat: 添加Mistral渠道 (close #546) 2024-11-05 17:11:33 +08:00
CalciumIon
52e7230c41 chore: update model ratio 2024-11-05 15:58:22 +08:00
HynoR
13fb14eb35 Sync Latest Claude Model 2024-11-05 10:17:11 +08:00
CalciumIon
c5633221f0 feat: support gpt-4o-audio-preview 2024-11-04 15:27:12 +08:00
Calcium-Ion
54d401a08d Merge pull request #533 from HynoR/main
chore: 修正chatgpt-4o-latest补全倍率
2024-10-24 00:17:48 +08:00
1808837298@qq.com
6e3d8b5572 feat: update claude models 2024-10-24 00:17:23 +08:00
TAKO
830effe41b Update model-ratio.go
fix wrong model ration about chatgpt-4o-latest
2024-10-17 12:50:14 +08:00
1808837298@qq.com
347cbf63bb fix: 修复用户可选分组不能选择用户分组 (close #528) 2024-10-14 16:22:22 +08:00
1808837298@qq.com
917aa6c0dc fix: playground group 2024-10-10 13:39:09 +08:00
1808837298@qq.com
8e910a42ad feat: update model ratio 2024-10-03 21:12:09 +08:00
1808837298@qq.com
e41540f84f feat: update model ratio 2024-10-03 20:48:47 +08:00
1808837298@qq.com
cb1dbb15fb feat: update model ratio 2024-10-03 20:47:54 +08:00
1808837298@qq.com
55ddd36395 feat: 更新令牌生成算法 2024-09-25 16:31:25 +08:00
1808837298@qq.com
5686e7b7c8 feat: 更新令牌生成算法 2024-09-25 16:31:25 +08:00
1808837298@qq.com
a50d2e6836 fix: error user role 2024-09-24 17:49:57 +08:00
liuzhifei
a6de89aab3 ratio must gte 0 2024-09-20 18:33:17 +08:00
liuzhifei
c9064de677 ratio must gte 0 2024-09-20 18:27:16 +08:00
liuzhifei
05db6660b2 ratio must gte 0 2024-09-20 18:09:40 +08:00
liuzhifei
9e8faac47b ratio must gte 0 2024-09-20 17:51:42 +08:00
CalciumIon
077f9807e5 feat: update gemini flash completion ratio #479 2024-09-18 20:39:06 +08:00
CalciumIon
18a55dd0ff feat: update gemini completion ratio #479 2024-09-18 20:37:22 +08:00
CalciumIon
4a02eb1b7f feat: 令牌分组 2024-09-18 05:19:49 +08:00
CalciumIon
6d2948d684 feat: 添加令牌ip白名单功能 2024-09-17 20:49:51 +08:00
CalciumIon
901c33f647 feat: support OpenAI o1-preview and o1-mini 2024-09-13 01:22:27 +08:00
Yan
39f10c8305 add gemini exp 2024-09-11 19:37:03 +08:00
Calcium-Ion
89713975ca Merge pull request #459 from HynoR/main
chore: 适配cohere的safety参数
2024-09-05 18:37:47 +08:00
CalciumIon
d1857313f5 fix: email 2024-09-04 19:44:29 +08:00
HynoR
c3f2f337aa Merge remote-tracking branch 'origin/main' 2024-09-02 06:47:58 +07:00
HynoR
b7b5887b0e Update Cohere Safety Setting 2024-09-02 06:47:49 +07:00