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
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
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
JustSong
cf16f44970
feat: load channel models from server
2024-03-09 02:28:23 +08:00
JustSong
9d8967f7d3
feat: support Mistral's models now ( close #1051 )
2024-03-03 21:46:45 +08: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
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
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
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
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
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
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
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
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
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
papersnake
c70c614018
feat: support chatglm_turbo ( #648 )
...
* feat: support chatglm_turbo
* fix: remove characterglm
2023-11-05 17:59:38 +08:00
JustSong
63fafba112
feat: support ERNIE-Bot-4 ( close #608 )
2023-10-22 18:48:35 +08:00
JustSong
824444244b
feat: able to delete all disabled channels
2023-10-14 17:25:48 +08:00
JustSong
fbe9985f57
chore: show prompt to let the user know
2023-10-14 16:32:01 +08:00
阿鹏
fa41ca9805
fix: fix url not passing ( #562 )
...
解决令牌页面聊天按钮丢失url参数的问题
2023-10-14 12:45:00 +08:00
Mikey
e338de45b6
fix: 404 Component is missing ( #592 )
...
* fix: 404 Component is missing
* chore: update 404 page style
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-10-14 12:42:07 +08:00
JustSong
b4b4acc288
feat: support Tencent's model ( close #519 )
2023-10-03 14:19:03 +08:00
JustSong
d663de3e3a
chore: delete 360's 360GPT_S2_V9.4
2023-10-03 12:52:45 +08:00
JustSong
8d34b7a77e
feat: able to delete all manually disabled channels ( close #539 )
2023-10-02 13:06:27 +08:00
JustSong
f0fc991b44
chore: remind user to change default password ( close #516 )
2023-09-29 18:07:20 +08:00
JustSong
fd98463611
chore: update ali's model name
2023-09-23 22:57:59 +08:00
JustSong
1d258cc898
fix: add default value for base url
2023-09-18 22:49:05 +08:00
JustSong
159b9e3369
fix: fix unable to set zero value for base url & model mapping
2023-09-18 22:07:17 +08:00
Xyfacai
ecf8a6d875
feat: supprt channel priority now & record channel id in log ( #484 )
...
* feat: 支持设置渠道优先级 & 日志中显示使用的渠道ID
* fix: 设置渠道优先级未更新 ability
* chore: update implementation
---------
Co-authored-by: Xiangyuan Liu <xiangyuan.liu@ui.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-09-17 19:18:16 +08:00
JustSong
12ef9679a7
fix: fix url not passing when using custom chat_link
2023-09-17 17:19:12 +08:00
JustSong
328aa68255
feat: able to delete logs now ( close #486 )
2023-09-17 17:09:56 +08:00
JustSong
0d50ad4b2b
chore: update channel test prompt
2023-09-17 11:34:06 +08:00
JustSong
39ae8075e4
fix: fix oauth2 state not checking
2023-09-15 00:24:20 +08:00
igophper
d0a0e871e1
fix: support ali's embedding model ( #481 , close #469 )
...
* feat:支持阿里的 embedding 模型
* fix: add to model list
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-09-03 22:12:35 +08:00
JustSong
276163affd
fix: press enter to submit custom model name
2023-09-03 21:40:58 +08:00
JustSong
7e575abb95
feat: add channel type FastGPT
2023-09-03 15:50:49 +08:00
JustSong
04acdb1ccb
feat: support aiproxy's library
2023-09-03 12:51:59 +08:00
JustSong
f0d5e102a3
fix: fix log table use created_at as key instead of id
...
Co-authored-by: 13714733197 <13714733197@163.com>
2023-08-30 21:43:01 +08:00
JustSong
56b5007379
feat: supper OpenRouter now ( close #333 , close #340 )
2023-08-27 16:16:45 +08:00
JustSong
5ee24e8acf
feat: support 360's models ( close #331 , close #461 )
...
feat: support 360's models (close #331 , close #461 )
2023-08-26 13:36:20 +08:00
滔哥
7e058bfb9b
feat: support xunfei's v2 api ( #442 , close #440 )
...
* 兼容讯飞v2接口
* Revert "兼容讯飞v2接口"
This reverts commit 21f05d1294
.
* fix: fix implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-08-19 17:50:34 +08:00
Benny
1b56becfaa
feat: show total quota consumption only when user click ( #448 )
...
* feat: add toggleable visibility for total quota using an eye icon
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-19 17:08:50 +08:00
igophper
4ef5e2020c
fix: fix baidu's embedding api ( #398 )
...
* fix:judge baidu embeddings input type
* chore: add back update all channels balance
* chore: update default configuration for sql connection
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-13 00:45:04 +08:00
igophper
af20063a8d
feat: able to refresh baidu access token automatically ( #400 , close #401 )
...
* feat:baidu channel support apiKey and secretKey
添加百度文心渠道时支持填写secretKey|apiKey或者accessToken,支持自动刷新accessToken
* fix
* fix
* fix
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-08-12 23:41:44 +08:00
JustSong
e42119b73d
chore: use unknown as placeholder
2023-08-12 14:18:04 +08:00
Yolo°
c58f710227
feat: improve frontend ( #387 )
...
* fork
* fork
* chore: update style
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-12 10:49:30 +08:00
JustSong
7422b0d051
chore: update prompt
2023-08-06 22:07:31 +08:00
Yolo°
5a62357c93
feat: add chat button for each token ( #363 )
...
* fork
* fork
* chore: update style
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-06 22:02:58 +08:00
JustSong
b464e2907a
chore: update domain
2023-08-06 18:14:13 +08:00
Miniers
1dfa190e79
feat: able to copy scheme of ama, opencat & chatgpt next web ( #343 )
...
* Token Adds Option to Quickly Copy AMA and OpenCat URL Scheme
* feat: add ChatGPT Next Web
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-06 13:56:59 +08:00
ckt
3fca6ff534
feat: support email domain whitelist ( #337 )
...
* feat: support email domain restriction
* fix(SMTPToken): disable password auto complete
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-30 12:44:41 +08:00
JustSong
b7d0616ae0
chore: update title for xunfei
2023-07-29 22:09:10 +08:00
JustSong
ce9c8024a6
chore: update prompt for xunfei
2023-07-29 22:05:15 +08:00
JustSong
8a866078b2
feat: support xunfei's llm ( close #206 )
2023-07-29 21:55:57 +08:00
JustSong
b8cb86c2c1
chore: adjust ui
2023-07-29 19:32:06 +08:00
JustSong
50dec03ff3
fix: fix model mapping cannot be deleted
2023-07-29 19:16:42 +08:00
JustSong
f31d400b6f
chore: automatically add related models when switch type
2023-07-29 12:24:23 +08:00
JustSong
e92da7928b
feat: support ali's llm ( close #326 )
2023-07-28 23:45:08 +08:00
JustSong
4ab3211c0e
fix: fix blank screen after refresh
2023-07-23 17:59:30 +08:00
ckt
2fcd6852e0
feat: able to delete account by self ( #294 )
...
* feat: support account deletion
* chore: update style
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-23 13:37:32 +08:00
Yolo°
9b4d1964d4
chore: optimize frontend ( #293 )
...
* main
* chore: update style
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-23 13:25:28 +08:00
JustSong
806bf8241c
chore: update prompts of channel config page
2023-07-23 12:46:41 +08:00
JustSong
ce93c9b6b2
chore: adjust channel config page
2023-07-23 12:20:42 +08:00
JustSong
26c6719ea3
feat: support zhipu's ChatGLM ( close #289 )
2023-07-23 11:51:44 +08:00
JustSong
8f721d67a5
feat: support Google PaLM2 ( close #105 )
2023-07-23 00:32:47 +08:00
JustSong
fcc1e2d568
chore: add notice for baidu
2023-07-22 23:27:04 +08:00
JustSong
9a1db61675
feat: support baidu's models now ( close #286 )
2023-07-22 23:24:09 +08:00
JustSong
3c940113ab
fix: fix model editing now working properly ( close #288 )
2023-07-22 18:56:36 +08:00