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
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
Laisky.Cai
10cbe63c0d
Merge remote-tracking branch 'origin/upstream/main'
2024-01-28 13:44:16 +00:00
JustSong
ea407f0054
feat: able to set completion ration now ( close #968 )
2024-01-28 16:45:54 +08:00
yongman
4f214c48c6
fix: fix primary chat button ( #951 )
...
Signed-off-by: yongman <yming0221@gmail.com>
2024-01-21 23:27:34 +08:00
Buer
e2ed0399f0
fix: fix aff not effective ( #937 )
2024-01-20 12:38:06 +08:00
Buer
cf4e33cb12
fix: fix bugs with theme berry ( #931 )
...
* fix: home page & logo style issue
* improve: Enhanced user experience by improving the channel selection box
* fix: key cannot be activated after expiration
2024-01-14 13:22:31 +08:00
Laisky.Cai
d37fa80106
Merge remote-tracking branch 'origin/upstream/main'
2024-01-11 09:28:40 +00:00
JustSong
d062bc60e4
chore: update ui copy
2024-01-07 19:18:52 +08:00
JustSong
39c1882970
chore: add back THEMES
2024-01-07 19:01:31 +08:00
JustSong
9c42c7dfd9
docs: update theme readme
2024-01-07 18:59:26 +08:00
Buer
37afb313b5
fix: fix some issues with berry ( #913 )
...
* fix: login address error
* fix: Normal users display profile menu
* fix: remove redundant code
2024-01-07 18:39:15 +08:00
JustSong
86261cc656
feat: able to change theme
2024-01-07 17:53:05 +08:00
Buer
48989d4a0b
feat: add new theme berry ( #860 )
...
* feat: add theme berry
* docs: add development notes
* fix: fix blank page
* chore: update implementation
* fix: fix package.json
* chore: update ui copy
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-01-07 14:20:07 +08:00
Laisky.Cai
021affc81a
Merge remote-tracking branch 'origin/upstream/main'
2024-01-03 05:54:05 +00:00
JustSong
4a96031ce6
docs: update readme
2024-01-01 21:14:45 +08:00
JustSong
92886093ae
docs: update readme
2024-01-01 21:10:40 +08:00
JustSong
0c022f17cb
chore: update theme related code
2024-01-01 20:25:53 +08:00
JustSong
83f95935de
ci: fix Dockerfile & ci
2024-01-01 19:23:46 +08:00
JustSong
aa03c89133
feat: able to add more UI theme ( #860 )
2024-01-01 18:55:03 +08:00
Seven Yu
c50c609565
fix: fix button copywriting ( #880 )
...
* feat: rename Channel button
* fix: update en.json
---------
Co-authored-by: seven.yu <seven.yu@dji.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-01-01 17:09:12 +08:00
Laisky.Cai
00eca28a76
Merge remote-tracking branch 'origin/upstream/main'
2023-12-27 02:14:34 +00:00
JustSong
1c8922153d
feat: support gemini-vision-pro
2023-12-24 18:54:32 +08:00
moondie
ee9e746520
feat: update ali stream implementation & enable internet search ( #856 )
...
* Update relay-ali.go: 改进stream模式,添加联网搜索能力
通义千问支持stream的增量模式,不需要每次去掉上次的前缀;实测qwen-max联网模式效果不错,添加了联网模式。如果别的模型有问题可以改为单独给qwen-max开放
* 删除"stream参数"
刚发现原来阿里api没有这个参数,上次误加了。
* refactor: only enable search when specified
* fix: remove custom suffix when get model ratio
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-24 16:17:21 +08:00
Laisky.Cai
a889d9dcc9
Merge remote-tracking branch 'origin/upstream/main'
2023-12-18 02:10:13 +00:00
Oliver Lee
0fe26cc4bd
feat: update ali relay implementation ( #830 )
...
* 修改通译千问最新接口:1.删除history参数,改用官方推荐的messages参数 2.整理messages参数顺序,补充必要上下文信息 3.用autogen调试测试通过
* chore: update impl
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-17 19:43:23 +08:00
David Zhuang
5cf23d8698
feat: add Google Gemini Pro support ( #826 )
...
* fest: Add Google Gemini Pro, fix #810
* fest: Add tooling to Gemini; Add OpenAI-like system prompt to Gemini
* refactor: removing unused if statement
* fest: Add dummy model message for system message in gemini model
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-17 12:48:32 +08:00
Laisky.Cai
7239b3386a
Merge remote-tracking branch 'origin/upstream/main'
2023-12-12 06:00:29 +00:00
JustSong
379074f7d0
feat: support plugin for ali channel ( close #797 )
2023-12-10 17:22:52 +08:00
Tillman Bailee
a3f80a3392
feat: enable channel when test succeed ( #771 )
...
* 增加功能: 渠道 - 测试所有通道; 设置 - 运营设置 - 监控设置 - 成功时自动启用通道
* refactor: update implementation
---------
Co-authored-by: liyujie <29959257@qq.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-03 20:10:57 +08:00
JustSong
9889377f0e
feat: support claude-2.x ( close #736 )
2023-11-24 21:39:44 +08:00
Laisky.Cai
8d270c8c9a
chore: Refactor code and update GitHub workflow
...
- Remove comment section from the Footer component in Footer.js
- Add environment variable `SHORT_SHA` to store the first 8 characters of the commit SHA in ci.yml file
- Remove the addition of `SHORT_SHA` to the `GITHUB_ENV` file in ci.yml file
2023-11-17 02:16:17 +00:00
Laisky.Cai
b2e46a33ac
feat: token copy web url
...
- Update `COPY_OPTIONS` object in `TokensTable.js`
- Modify the `onCopy` function to use a different url variable
- Fix pagination logic in the `onPaginationChange` function
- Remove unnecessary code and comments in `TokensTable.js`
2023-11-17 01:24:48 +00:00
Laisky.Cai
4bffae748c
Merge remote-tracking branch 'origin/upstream/main'
2023-11-15 13:23:44 +00:00
Baksi
7c4505bdfc
fix: numeric sorting in tables ( #695 )
...
* Update sorting method for id
* Update sorting method for id (token)
* Update sorting method for id (redemptions)
* Update sorting method for id (channel)
* chore: use same logic for all tables
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-10 21:20:05 +08:00
Laisky
ba6bf76791
Merge branch 'upstream/main' into main
2023-11-09 03:12:38 +00:00