1808837298@qq.com
ae5875d4c7
fix: Remove redundant error handling in distributor and relay modules
2025-02-19 18:47:28 +08:00
Jerry
126f04e08f
Support for MokaAI M3E
2025-01-22 04:21:08 +08:00
CalciumIon
ed435e5c8f
refactor: user cache logic
2024-12-29 16:50:26 +08:00
CalciumIon
4fc1fe318e
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
CalciumIon
f3f1817aea
feat: Add request start time context key and update middleware
...
- Introduced a new constant `ContextKeyRequestStartTime` to store the request start time in the context, enhancing request tracking.
- Updated the `Distribute` middleware to set the request start time in the context using the new constant.
- Modified the `GenRelayInfo` function to retrieve the request start time from the context, ensuring accurate timing information is used in relay operations.
2024-12-23 20:48:10 +08:00
CalciumIon
f2809917f8
feat: implement channel settings configuration
...
fix #620
2024-12-15 15:52:41 +08:00
1808837298@qq.com
e3c85572d4
Update dto
...
(cherry picked from commit 030187ff75c64c40017cda2fa98ef2b3c01f0bd5)
2024-11-05 19:23:56 +08:00
1808837298@qq.com
f599c65944
fix: 修复用户可选分组不能选择用户分组 ( close #528 )
2024-10-14 16:22:22 +08:00
CalciumIon
3fbdd502b6
fix: token group #477
2024-09-18 18:55:11 +08:00
CalciumIon
052bc2075b
feat: 令牌分组
2024-09-18 05:19:49 +08:00
CalciumIon
f505afdc10
feat: 添加令牌ip白名单功能
2024-09-17 20:49:51 +08:00
CalciumIon
ac4262c542
feat: support vertex ai #377
2024-08-27 20:19:51 +08:00
CalciumIon
5acf074541
chore: 优化自动禁用代码
2024-08-03 17:32:28 +08:00
CalciumIon
8a9ff36fbf
chore: 优化relay代码
2024-08-03 16:55:29 +08:00
Calcium-Ion
0f94ff47b5
Merge pull request #367 from Calcium-Ion/audio
...
feat: support cloudflare tts
2024-07-17 17:34:59 +08:00
CalciumIon
7a0beb5793
fix: distribute panic
2024-07-17 17:01:25 +08:00
CalciumIon
ebb9b675b6
feat: support cloudflare audio
2024-07-16 23:24:47 +08:00
CalciumIon
bcc7f3edb2
refactor: audio relay
2024-07-16 22:07:10 +08:00
CalciumIon
7b36a2b885
feat: support cloudflare worker ai
2024-07-13 19:55:22 +08:00
CalciumIon
d4578e28b3
fix: channel auto ban
2024-07-04 22:46:43 +08:00
Xiangyuan Liu
c993ab2746
feat: suno api 支持
...
feat: 调试 suno
feat: 补充suno 文档
2024-06-13 10:35:48 +08:00
CaIon
6b71db7ce2
feat: 状态码复写
2024-04-20 21:05:23 +08:00
CaIon
60d7ed3fb5
fix: distributor panic
2024-04-08 13:48:36 +08:00
CaIon
34bf8f8945
fix: select channel
2024-04-07 22:08:11 +08:00
CaIon
660b9b3c99
feat: able to set default test model ( #138 )
2024-04-04 17:29:25 +08:00
CaIon
4b60528c5f
feat: 本地重试
2024-04-04 16:35:44 +08:00
Xiangyuan Liu
49df4b6eed
feat: 支持 /mj-{mode} 路径
2024-03-29 16:48:50 +08:00
我秦始皇
f63ad9c03c
fix: make the 'openai_organization' parameter actually work.
2024-03-18 02:19:59 -07:00
我秦始皇
0fb98e44a7
fix: make the 'openai_organization' parameter actually work.
2024-03-18 02:11:21 -07:00
CaIon
d704902b70
feat: 兼容自定义变焦,完善modal操作
2024-03-14 16:42:37 +08:00
CaIon
3d10c9f090
feat: 将操作拆分成单独的模型
2024-03-13 21:19:48 +08:00
1808837298@qq.com
5b18cd6b0a
feat: 初步重构
2024-02-29 01:08:18 +08:00
1808837298@qq.com
81167c4322
feat: 记录更多的错误信息
2024-02-22 19:42:33 +08:00
CaIon
ccaf64bbfc
chore: check before get userGroup
2024-01-25 20:10:32 +08:00
CaIon
e2a1caba4c
fix: 修复渠道一致性问题
2024-01-12 14:36:15 +08:00
CaIon
3e13810ca2
fix: fix channel panic
2024-01-10 00:17:03 +08:00
CaIon
1244963e81
feat: 可设置令牌能调用的模型
2024-01-08 16:25:17 +08:00
CaIon
b86bc169a5
无效的请求返回具体原因
2023-12-28 23:59:46 +08:00
CaIon
e057c0e42e
添加gemini支持
2023-12-18 23:46:05 +08:00
CaIon
cf663e7ac4
fix whisper-1
2023-11-19 16:35:37 +08:00
CaIon
63cd3f05f2
support tts
2023-11-15 21:05:14 +08:00
CaIon
fc2ef52366
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# README.md
# go.mod
# go.sum
# model/log.go
# web/src/App.js
# web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
b4b4acc288
feat: support Tencent's model ( close #519 )
2023-10-03 14:19:03 +08:00
CaIon
b06c370fd9
feat: 渠道新可选是否自动禁用功能
2023-09-25 18:53:59 +08:00
CaIon
80271b33ba
feat: 渠道新可选是否自动禁用功能
2023-09-25 18:44:10 +08:00
CaIon
e6bb113f35
fix bug
2023-09-18 23:06:00 +08:00
Calcium-Ion
26f9d25860
Merge branch 'songquanpeng:main' into main
2023-09-18 22:52:10 +08:00
JustSong
159b9e3369
fix: fix unable to set zero value for base url & model mapping
2023-09-18 22:07:17 +08:00
CaIon
985e26fd1b
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# controller/log.go
# controller/relay-audio.go
# controller/relay-image.go
# controller/relay-text.go
# controller/relay.go
# middleware/distributor.go
# model/log.go
# web/src/components/OperationSetting.js
2023-09-17 20:59:12 +08:00
JustSong
42451d9d02
refactor: update logging related logic
2023-09-17 15:39:46 +08:00