JustSong
0bab887b2d
chore: update log content
2025-01-31 20:15:04 +08:00
JustSong
0230d36643
feat: update log table style
2025-01-31 20:06:43 +08:00
JustSong
bad57d049a
feat: update log table style
2025-01-31 20:02:51 +08:00
JustSong
dc470ce82e
feat: show stream & elapsed time in log detail
2025-01-31 19:34:22 +08:00
JustSong
ea0721d525
feat: update log content format
2025-01-31 18:15:43 +08:00
chenzikun
f95e6b78b8
fix: fix berry copy token ( #2041 )
...
* [bugfix]修复copy问题
* [update]两阶段编译代码
---------
Co-authored-by: zicorn <a24395@autel.com>
2025-01-31 16:12:59 +08:00
Laisky.Cai
d5fa98f2e0
fix: translate error messages and comments to English for consistency
2025-01-27 03:34:27 +00:00
Laisky.Cai
303ab407d0
fix: update repository links
2025-01-26 12:29:20 +00:00
Laisky.Cai
531f832d1e
refactor: update variable names and improve code readability; add Makefile for linting and installation
2025-01-23 03:32:41 +00:00
Laisky.Cai
bc0c8090ef
Merge branch 'main' into pr/Laisky/26
2025-01-22 03:37:03 +00:00
zicorn
5199639d8c
[update]两阶段编译代码
2025-01-20 14:14:38 +08:00
Laisky.Cai
13b1b165bd
refactor: update UI text and error messages to English for better accessibility
2025-01-19 12:59:58 +00:00
zicorn
54c6e6ade4
[bugfix]修复copy问题
2025-01-16 21:40:17 +08:00
Laisky.Cai
a9604fd59c
Merge branch 'upstream/main'
2024-12-22 12:13:47 +00:00
Ke Wang
95e8c16338
feat: add balance query support for DeepSeek ( #1946 )
...
* Support Balance Query for DeepSeek
* Fix
2024-12-22 19:26:33 +08:00
Laisky.Cai
dc181dd7fa
Merge branch 'upstream/main'
2024-12-22 02:50:40 +00:00
Laisky.Cai
305ce14fe3
feat: support replicate chat models ( #1989 )
...
* feat: add Replicate adaptor and integrate into channel and API types
* feat: support llm chat on replicate
2024-12-21 14:41:19 +08:00
JustSong
45b51ea0ee
feat: update feishu oauth login
2024-12-20 23:27:00 +08:00
Laisky.Cai
ae7117beee
feat: add Replicate adaptor and integrate into channel and API types
2024-11-28 09:04:02 +00:00
Laisky.Cai
082cfbe574
Merge remote-tracking branch 'origin/upstream/main'
2024-11-20 02:09:28 +00:00
JustSong
833fa7ad6f
feat: support set system_prompt for theme air & berry
2024-11-10 15:09:02 +08:00
JustSong
6eb0770a89
feat: support set system prompt for channel ( close #1920 )
2024-11-10 14:53:34 +08:00
Ryo Shen
8ec092ba44
feat: add support for xAI ( #1915 )
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-11-07 23:52:38 +08:00
shaoyun
b0b88a79ff
feat: added support for Claude 3.5 Haiku ( #1912 )
2024-11-07 23:51:17 +08:00
Laisky.Cai
2e5e6faad7
Merge remote-tracking branch 'origin/upstream/main'
2024-10-29 01:15:54 +00:00
JustSong
7e51b04221
feat: able to hide test model selector and balance col
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-10-27 18:31:43 +08:00
shaoyun
f092eed1db
feat: add support for Claude Sonnet 3.5 v2 ( #1888 )
2024-10-27 17:10:02 +08:00
千寻简
cb772e5d06
fix:unsuccessful lobechat redirection link ( #1843 )
2024-10-27 17:03:35 +08:00
lihangfu
e32cb0b844
feat: support SparkDesk-v3.5-32K ( #1832 )
...
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-10-27 17:02:54 +08:00
Laisky.Cai
3f905ea0a4
Merge branch 'upstream/main'
2024-09-25 09:22:57 +00:00
TimeTrapzz
a21681096a
feat: add siliconflow usage ( #1798 )
2024-09-22 16:31:26 +08:00
lihangfu
32f90a79a8
feat: support SparkDesk-v3.1-128K ( #1732 )
...
* feat: 支持SparkDesk-v3.1-128K以及hunyuan-vision
* feat: 支持SparkDesk-v3.1-128K以及hunyuan-vision
---------
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-09-22 16:29:09 +08:00
OnEvent
99c8c77504
feat: add oidc support ( #1725 )
...
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
* feat: add the ui for configuring the third-party standard OAuth2.0/OIDC.
- update SystemSetting.js
- add setup ui
- add configuration
* feat: add the ui for "allow the OAuth 2.0 to login"
- update SystemSetting.js
* feat: add OAuth 2.0 web ui and its process functions
- update common.js
- update AuthLogin.js
- update config.js
* fix: missing "Userinfo" endpoint configuration entry, used by OAuth clients to request user information from the IdP.
- update config.js
- update SystemSetting.js
* feat: updated the icons for Lark and OIDC to match the style of the icons for WeChat, EMail, GitHub.
- update lark.svg
- new oidc.svg
* refactor: Changing OAuth 2.0 to OIDC
* feat: add OIDC login method
* feat: Add support for OIDC login to the backend
* fix: Change the AppId and AppSecret on the Web UI to the standard usage: ClientId, ClientSecret.
* feat: Support quick configuration of OIDC through Well-Known Discovery Endpoint
* feat: Standardize terminology, add well-known configuration
- Change the AppId and AppSecret on the Server End to the standard usage: ClientId, ClientSecret.
- add Well-Known configuration to store in database, no actual use in server end but store and display in web ui only
2024-09-21 23:03:20 +08:00
千寻简
cba82404ae
feat: add lobechat open link options ( #1741 )
...
Co-authored-by: Star <iii9777@163.com>
2024-09-21 22:49:31 +08:00
Laisky.Cai
4e3782d524
Merge remote-tracking branch 'origin/upstream/main'
2024-08-08 01:51:13 +00:00
Shenghang Tsai
402fcf7f79
feat: add SiliconFlow ( #1717 )
...
* Add SiliconFlow
* Update README.md
* Update README.md
* Update channel.constants.js
* Update ChannelConstants.js
* Update channel.constants.js
* Update ChannelConstants.js
* Update compatible.go
* Update README.md
2024-08-06 23:42:25 +08:00
Laisky.Cai
4c96688e7c
Merge remote-tracking branch 'origin/upstream/main'
2024-07-23 01:14:23 +00:00
Laisky.Cai
c936198ac8
feat: add Proxy channel type and relay mode ( #1678 )
...
Add the Proxy channel type and relay mode to support proxying requests to custom upstream services.
2024-07-22 22:51:19 +08:00
Laisky.Cai
9dbaaefe3f
Merge remote-tracking branch 'origin/upstream/main'
2024-07-13 13:45:33 +00:00
LiuVaayne
cf9b5f0b92
feat: support claude and gemini in vertex ai ( #1621 )
...
* feat: support claude and gemini in vertex ai
* fix: do not show api key field in channel page when the type is VertexAI
* fix: update getToken function to include channelId in cache key
2024-07-13 14:59:28 +08:00
Laisky.Cai
f9417d32e1
Merge remote-tracking branch 'origin/upstream/main'
2024-07-09 06:28:06 +00:00
Qiying Wang
720fe2dfeb
feat: refactor AwsClaude to Aws to support both llama3 and claude ( #1601 )
...
* feat: refactor AwsClaude to Aws to support both llama3 and claude
* fix: aws llama3 ratio
2024-07-06 13:19:41 +08:00
Jason
e090e76c86
feat: add Novita AI as model provider ( #1609 )
2024-07-06 13:16:46 +08:00
Qiying Wang
d7a78f3397
feat: support test specific model ( #1600 )
2024-07-05 18:05:16 +08:00
Leo Q
273be55797
feat(ui): show available models for air theme ( #1595 )
...
* feat(ui): air 主题显示可用模型
* chore: 改为全角括号
2024-07-04 08:35:41 +08:00
Laisky.Cai
c20f27ec45
Merge remote-tracking branch 'origin/upstream/main'
2024-07-01 03:09:33 +00:00
lihangfu
d0369b114f
feat: support spark4.0 ultra ( #1569 )
...
* feat: 支持v3最新协议的腾讯混元(#1452)
* feat: 支持Spark4.0 Ultra
---------
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-06-30 19:37:07 +08:00
shaoyun
ae1cd29f94
feat: added support for Claude Sonnet 3.5 ( #1567 )
2024-06-30 16:25:25 +08:00
Laisky.Cai
115287b8cf
Merge remote-tracking branch 'origin/upstream/main'
2024-06-17 03:16:36 +00:00
Buer
6aafb7a99e
fix: channel edit settings key error ( #1496 )
2024-06-13 00:08:49 +08:00
Zhong Liu
c1971870fa
fix: support for Spark Lite model ( #1526 )
...
* fix: Support for Spark Lite model
* fix: fix panic
* fix: fix xunfei version config
---------
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-06-13 00:07:26 +08:00
Laisky.Cai
91ec8b92f0
Merge remote-tracking branch 'origin/upstream/main'
2024-06-09 13:39:05 +00:00
取梦为饮
98669d5d48
feat: add support for bytedance's doubao ( #1438 )
...
* 增加豆包大模型支持
* chore: update channel options & add prompt
---------
Co-authored-by: 康龙彪 <longbiao.kang@i-tudou.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-06-08 13:26:26 +08:00
Laisky.Cai
c524e60d9f
Merge remote-tracking branch 'origin/upstream/main'
2024-05-29 06:12:37 +00:00
fatwang2
3be28da57b
Update package.json ( #1465 )
2024-05-28 01:31:08 +08:00
Buer
07b2fd58d6
feat: berry theme update & bug fix ( #1471 )
...
* feat: load channel models from server
* chore: support AWS Claude/Cloudflare/Coze
* fix: Popup message when copying fails
* chore: Optimize tips
2024-05-28 01:22:40 +08:00
Laisky.Cai
f56a469199
Merge remote-tracking branch 'origin/upstream/main'
2024-05-25 13:20:54 +00:00
JustSong
0acee9a065
fix: fix berry error ( close #1445 )
2024-05-22 01:00:00 +08:00
JustSong
03ea60532a
fix: fix html lang attribute ( close #1433 )
2024-05-21 01:20:37 +08:00
Laisky.Cai
7f0238e64c
Merge remote-tracking branch 'origin/upstream/main'
2024-05-04 00:54:10 +00:00
JustSong
71f4403fd5
feat: add together.ai support ( #1298 )
2024-04-30 02:16:53 +08:00
Laisky.Cai
ca23dd9a97
Merge commit '1c2654320e5b6268b13b6efca40ce37a523d032b'
2024-04-28 01:53:31 +00:00
JustSong
007906216d
feat: support DeepL's model ( close #1126 )
2024-04-27 13:37:22 +08:00
JustSong
9026ec7510
feat: support cloudflare now
2024-04-26 23:05:48 +08:00
Laisky.Cai
e1ce7c1141
Merge commit 'c3178720975ee0b2767bc3b0ad98cfc533f22b6d'
2024-04-26 13:01:12 +00:00
JustSong
c317872097
feat: support deepseek now
2024-04-26 00:48:53 +08:00
Laisky.Cai
a516d5eadd
Merge commit 'da0842272ced7bee05a8f43c40a7a8c01b14d09a'
2024-04-25 03:04:12 +00:00
JustSong
0a650b85b4
chore: update berry
2024-04-24 22:08:47 +08:00
Ghostz
24f026d18e
feat: add cohere support ( #1355 )
...
* support cohere
* chore: tiny improvements
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-24 21:50:01 +08:00
tylinux
cb33e8aad5
fix: fix default theme blank screen when edit channel again ( #1363 )
...
* fix: throw exception after submit channel edit
* fix: replace with destructuring assignment
2024-04-24 21:29:48 +08:00
Laisky.Cai
7047d9605e
Merge commit '3d149fedf45472eff92910324974c762fc37dad6'
2024-04-21 15:05:13 +00:00
JustSong
d87c55f542
chore: render unknown channel type
2024-04-21 18:54:35 +08:00
JustSong
e5b3e37c46
feat: support bot prefix for coze
2024-04-21 18:04:56 +08:00
JustSong
8de489cf06
feat: support coze now
2024-04-21 17:59:57 +08:00
JustSong
d14e4aa01b
fix: key is wrongly updated
2024-04-21 17:38:39 +08:00
JustSong
8572fac7a2
fix: add back chat dropdown item for chatgpt next web ( close #1330 )
2024-04-21 15:50:35 +08:00
JustSong
35ba1da984
fix: fix cannot submit aws claude config ( close #1343 )
2024-04-21 11:04:34 +08:00
Laisky.Cai
c735b9b4d3
Merge commit '2369025842b828ac38f4427fd1ebab8d03b1fe7f'
2024-04-20 01:07:29 +00:00
JustSong
ddee58df36
fix: fix loading
2024-04-20 00:54:34 +08:00
Laisky.Cai
fc9a784950
feat: support aws bedrockruntime claude3 ( #1328 )
...
* feat: support aws bedrockruntime claude3
closes #622 , closes #749 , closes #1300
* fix: convert to aws claude model id
* fix: Update AWS adapter to handle stream completions and calculate usage metrics
Based on the file summaries provided, here are the important bullet points for the commit message:
- Add functionality to handle stream completion events from AWS in the relay/adaptor/aws/main.go file
- Marshall AWS response to OpenAI format and calculate usage metrics in the same file
- Implement a custom render function for streaming events in the same file
- Improve error handling for JSON unmarshalling and marshalling errors in the same file
* fix: Implement AWS handler with usage tracking and error handling
- Implemented streaming response handling for AWS handler
- Set response content type to text/event-stream
- Added error handling for failed marshaling/unmarshaling
- Updated return values to include `relaymodel.ErrorWithStatusCode` and `relaymodel.Usage`
- Improved error handling and response formatting for AWS adaptor
* fix: Refactor AWS Adapter for Improved Model Mapping and Error Handling
* Refactor AWS adapter to improve model management
- Replace hardcoded model list in `adapter.go` with a function to get models from `awsModelIDMap`
- Update `GetModelList` function to return model list directly
- Add `GetChannelName` function to get channel name from `Adaptor` object
* Improve error handling and code organization in main.go
- Replace switch statement with a map to map AWS model IDs to OpenAI model IDs
- Return an error if the model is not found in the map
- Use a single return statement instead of wrapping multiple return statements in the `awsModelID` function
- Add a new error message for when the model is not found in the map in the `Handler` function
* fix: bug fix
* chore: change variable name & package
* chore: change variable name
* perf: update config related code
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-20 00:40:47 +08:00
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
JustSong
9d8967f7d3
feat: support Mistral's models now ( close #1051 )
2024-03-03 21:46:45 +08:00
Laisky.Cai
359fc6aa18
fix: Hide free quota display for zero quotas
...
- Remove the quota display for Zero quotas
- Parse the `const quotaPerUnit` once
2024-03-02 02:09:01 +00:00
Laisky.Cai
5bdf577b0e
fix: Enhance logs table with sorting, quotas, and UI improvements
...
- Improve LogsTable functionality for admin users.
- Add quota calculation column.
- Display quotas in the summary header.
2024-03-02 01:17:03 +00:00
Laisky.Cai
a7c43ab248
fix: display issue for quota
...
- DRY up `LogsTable.js` codebase
- Fix formatting in `LogsTable.js`
- Display 'free' for a 0 quota instead of empty string
2024-03-02 01:10:59 +00:00
Laisky.Cai
268690219e
fix: Rename limit to cost and allow for 0 limit
...
- Rename `额度` column to `费用`
- Allow for a quota to be 0.
- If the quota is 0, return 'free'
2024-03-02 00:59:22 +00:00
JustSong
1d0b7fb5ae
feat: support chatglm-4 ( close #1045 , close #952 , close #952 , close #943 )
2024-03-02 03:05:25 +08:00
JustSong
df1fd9aa81
feat: support minimax's models now ( close #354 )
2024-03-02 01:24:28 +08:00
JustSong
614c2e0442
feat: support baichuan's models now ( close #1057 )
2024-03-02 00:55:48 +08:00
Laisky.Cai
a94a3f5b36
Merge remote-tracking branch 'origin/upstream/main'
2024-02-27 01:09:14 +00:00
JustSong
87c7c4f0e6
fix: rm history build before building
2024-02-25 02:07:34 +08:00
JustSong
4c4a873890
fix: add an ending line for THEMES
2024-02-25 01:59:40 +08:00
JustSong
0664bdfda1
fix: fix build.sh ( close #1026 )
2024-02-25 01:53:27 +08:00
Laisky.Cai
b0e499519d
Merge pull request #4 from techotaku/feat/az-api-ver
...
feat: Update default API version for Azure OpenAI.
2024-02-22 11:30:24 +08:00
Laisky.Cai
29eab22762
Merge remote-tracking branch 'origin/upstream/main'
2024-02-19 07:23:30 +00:00
JustSong
2a5468e23c
refactor: remove useless button ( close #1014 )
2024-02-18 22:21:37 +08:00
JustSong
6cf5ce9a7a
fix: fix SparkDesk model name
2024-02-18 17:11:16 +08:00
JustSong
f598b9df87
feat: add new SparkDesk models
2024-02-18 17:02:36 +08:00
JustSong
532c50d212
fix: fix channel table page copy
2024-02-18 16:19:14 +08:00
JustSong
2acc2f5017
feat: support moonshot now ( close #804 )
2024-02-18 16:17:19 +08:00
Ian Li
3e1be51d06
feat: Update default API version for Azure OpenAI.
2024-02-03 22:16:29 +08:00