Laisky.Cai
4e1bfe4879
feat: support aws bedrockruntime claude3
...
closes #622 , closes #749 , closes #1300
2024-04-18 02:52:26 +00:00
Laisky.Cai
9cb3a06dd5
Merge commit 'af543ab8ecb6827cbbc151c2cff181cdc3286274'
2024-04-08 01:13:00 +00:00
GAI Group
52c32c0b4a
chore: resolve the issue of onclick event scope for custom Lark button ( #1281 )
...
chore: Resolve the issue of onclick event scope for custom Lark button
2024-04-06 20:08:05 +08:00
Buer
3fe2863ff7
feat: berry theme update & bug fix ( #1282 )
...
* ⚡ ️ improve: delete google fonts
* ⚡ ️ improve: Optimized priority input handling in TableRow component.
* 🔖 chore: channel batch add
* ✨ feat: add dark mod
* ✨ feat: support token limit ip range and models
* ✨ feat: add MessagePusher
* ✨ feat: add lark login
2024-04-06 19:44:23 +08:00
Laisky.Cai
50bab08496
Refactor codebase, introduce relaymode package, update constants and improve consistency
...
- Refactor constant definitions and organization
- Clean up package level variables and functions
- Introduce new `relaymode` and `apitype` packages for constant definitions
- Refactor and simplify code in several packages including `openai`, `relay/channel/baidu`, `relay/util`, `relay/controller`, `relay/channeltype`
- Add helper functions in `relay/channeltype` package to convert channel type constants to corresponding API type constants
- Remove deprecated functions such as `ResponseText2Usage` from `relay/channel/openai/helper.go`
- Modify code in `relay/util/validation.go` and related files to use new `validator.ValidateTextRequest` function
- Rename `util` package to `relaymode` and update related imports in several packages
2024-04-06 05:18:04 +00:00
JustSong
acf8cb6248
chore: update default nextweb link
2024-04-06 11:47:31 +08:00
JustSong
572fc9ffb8
fix: fix stepfun model ratio & id
2024-04-06 10:43:54 +08:00
GAI Group
569c04acb0
fix: fix Lark icon button style ( #1279 )
2024-04-06 10:18:59 +08:00
JustSong
348adc2b02
feat: able to set multiple subnets
2024-04-05 17:25:28 +08:00
JustSong
dcf24b98dc
chore: update berry copy
2024-04-05 14:28:38 +08:00
JustSong
af679e04f4
chore: sort channel type for berry
2024-04-05 14:23:39 +08:00
JustSong
93cbca6a9f
chore: update show notice duration
2024-04-05 14:14:21 +08:00
JustSong
5b41f57423
feat: support stepfun's models
2024-04-05 12:32:05 +08:00
JustSong
4d61b9937b
feat: support feishu login now
2024-04-05 12:10:43 +08:00
JustSong
c49778c254
feat: now able to limit ip range for token now ( close #1275 )
2024-04-05 10:09:16 +08:00
JustSong
f8cc63f00b
feat: add user info to topup link
2024-04-05 01:23:11 +08:00
JustSong
dc7aaf2de5
feat: able to set model limitation for token ( close #178 )
2024-04-04 02:08:18 +08:00
Laisky.Cai
61bff55287
Merge commit '96d7a993120d54f7d7c85528bbae6eacc6c82e10'
2024-03-28 01:32:41 +00:00
Laisky.Cai
36353a1d96
Merge commit '5b349efff9906d6db9f31644008959250b2c30f9'
2024-03-27 22:09:47 +00:00
JustSong
96d7a99312
fix: fix autofilled models are not correct
2024-03-24 23:12:32 +08:00
JustSong
24be9de098
chore: update copy
2024-03-24 23:01:03 +08:00
JustSong
5b349efff9
chore: fix berry copy
2024-03-24 22:57:24 +08:00
Laisky.Cai
d379377eca
Merge remote-tracking branch 'origin/upstream/main'
2024-03-18 01:31:21 +00:00
JustSong
b14cb748d8
chore: update copy
2024-03-17 19:39:00 +08:00
Ian Li
ade19ba4a2
feat: update default API version for Azure OpenAI ( #994 )
...
* feat: Update default API version for Azure OpenAI.
* chore: update other theme
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-03-17 19:34:21 +08:00
shuirong
7a44adb5a7
fix: fix panel cards style ( #1171 )
2024-03-17 19:26:12 +08:00
Benny
9821bc7281
feat: add user list sorting and pagination enhancements ( #1178 )
...
* feat: add user list sorting and pagination enhancements
* feat: add user list sorting for THEME=air
* feat: add token list sorting and pagination enhancements
* feat: add token list sorting for THEME=air
2024-03-17 19:25:36 +08:00
JustSong
0eb2272bb7
chore: update copy
2024-03-17 18:12:49 +08:00
JustSong
704ec1a827
chore: update theme berry
2024-03-17 17:48:57 +08:00
JustSong
c212fcf8d7
docs: update readme
2024-03-17 14:00:33 +08:00
JustSong
c285e000cc
chore: remove default scroll bar
2024-03-16 16:16:44 +08:00
JustSong
d25ed4c009
chore: update name
2024-03-16 15:55:31 +08:00
Laisky.Cai
cef41193d9
Merge remote-tracking branch 'origin/upstream/main'
2024-03-16 07:49:36 +00:00
GAI Group
11af81eb39
feat: add new theme air ( #1167 )
...
* chore: add theme air with new-api main branch v0.2.0.3-alpha.1(first step)
* feat: 完成渠道界面
* chore: 优化渠道界面样式问题
* feat: 完成兑换码界面
* feat: 完成充值(钱包)界面
* chore: 初代air主题将使用default主题的运营设置界面、系统设置界面、其他设置界面
* feat: 完成日志界面
* feat: 完成用户管理界面
* feat: 完成个人设置界面
* feat: 完成令牌界面
* chore: 优化令牌界面逻辑
* feat: 修改版权信息
* chore: make necessary changes
---------
Co-authored-by: Calon <1808837298@qq.com>
Co-authored-by: Apple\Apple <zeraturing@foxmail.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-03-16 15:29:35 +08:00
zu1k
a07791bf93
fix: change Moonshot value to 25 ( #1158 )
2024-03-16 13:29:19 +08:00
E.da
190203cf8f
fix: 修复berry
主题下令牌
在编辑
后点击新建
弹窗值的初始化问题 ( #1165 )
...
* Update OtherSetting.js
调整berry主题页脚`label`表述
* 修复`berry`主题下`令牌`在`修改`后点击`新建`弹窗值的初始化问题
### 问题描述
在`berry`主题中,存在一个问题,当用户在修改一个令牌后点击新建令牌时,新建令牌弹窗会错误地展示上一次编辑的值。
### 复现步骤
1. 导航至`令牌`管理页面。
2. 选择任意令牌进行`编辑`。
3. 在编辑界面,点击`取消`返回。
4. 点击`+新建令牌`按钮打开新建令牌弹窗。
### 预期结果
新建令牌弹窗应显示空白表单,等待用户输入新的令牌信息。
### 实际结果
新建令牌弹窗错误地展示了之前编辑的令牌信息。
2024-03-16 13:23:04 +08:00
Laisky.Cai
41afad713e
Merge remote-tracking branch 'origin/upstream/main'
2024-03-15 09:49:49 +00:00
E.da
3edf7247c4
fix: fix theme berry copy ( #1148 )
...
调整berry主题页脚`label`表述
2024-03-14 23:45:50 +08:00
afafw
0926b6206b
chore: update client name ( #934 )
2024-03-14 23:44:46 +08:00
JustSong
be9eb59fbb
feat: support lingyiwanwu
2024-03-14 23:11:36 +08:00
JustSong
2dcef85285
feat: support ollama now ( close #870 )
2024-03-14 01:02:47 +08:00
Laisky.Cai
72501cb746
Merge remote-tracking branch 'origin/upstream/main'
2024-03-11 09:32:11 +00:00
JustSong
5b50eb94e5
feat: able to send alert message via message pusher ( close #993 )
2024-03-10 19:16:06 +08:00
JustSong
71c61365eb
feat: able to only test disabled channels ( #1090 )
2024-03-10 18:34:57 +08:00
JustSong
b09f979b80
fix: add missing turnstile setup ( close #1015 )
2024-03-10 18:15:24 +08:00
JustSong
27ad8bfb98
feat: able to search channel type now
2024-03-10 15:00:33 +08:00
JustSong
b33616df44
feat: support groq now ( close #1087 )
2024-03-10 14:09:44 +08:00
Laisky.Cai
099e15f98b
Merge remote-tracking branch 'origin/upstream/main'
2024-03-09 01:31:04 +00:00
JustSong
cf16f44970
feat: load channel models from server
2024-03-09 02:28:23 +08:00
Laisky.Cai
cb6cb66646
Merge remote-tracking branch 'origin/upstream/main'
2024-03-05 01:02:35 +00:00