Commit Graph

79 Commits

Author SHA1 Message Date
igophper
b31a9d7576 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
6f4b547f0e fix: press enter to submit custom model name 2023-09-03 21:40:58 +08:00
JustSong
e7eb4474b6 feat: add channel type FastGPT 2023-09-03 15:50:49 +08:00
JustSong
8e0a744da3 feat: support aiproxy's library 2023-09-03 12:51:59 +08:00
JustSong
59eab66373 feat: supper OpenRouter now (close #333, close #340) 2023-08-27 16:16:45 +08:00
JustSong
6c808f80ff 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
滔哥
ad3aef34a7 feat: support xunfei's v2 api (#442, close #440)
* 兼容讯飞v2接口

* Revert "兼容讯飞v2接口"

This reverts commit 21f05d1294b8693d0a21664a23ec04f028b9b117.

* 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
igophper
91bcc5f738 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
8c3eb090fa chore: use unknown as placeholder 2023-08-12 14:18:04 +08:00
Yolo°
f9c3f3761e 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
945e876ef5 chore: update prompt 2023-08-06 22:07:31 +08:00
Yolo°
4e11fcd795 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
c2be293853 chore: update prompt for xunfei 2023-07-29 22:05:15 +08:00
JustSong
716af5231a chore: adjust ui 2023-07-29 19:32:06 +08:00
JustSong
26de9e47f4 fix: fix model mapping cannot be deleted 2023-07-29 19:16:42 +08:00
JustSong
da0171130b chore: automatically add related models when switch type 2023-07-29 12:24:23 +08:00
Yolo°
866012535f chore: optimize frontend (#293)
* main

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-23 13:25:28 +08:00
JustSong
dca24c34fb chore: update prompts of channel config page 2023-07-23 12:46:41 +08:00
JustSong
acc94f3af5 chore: adjust channel config page 2023-07-23 12:20:42 +08:00
JustSong
9d3f88de44 chore: add notice for baidu 2023-07-22 23:27:04 +08:00
JustSong
14ab35785b fix: fix model editing now working properly (close #288) 2023-07-22 18:56:36 +08:00
JustSong
cd12437330 feat: support custom model now (close #276) 2023-07-15 13:51:46 +08:00
JustSong
083bfecf3b chore: update channel add & edit page 2023-07-04 18:40:36 +08:00
JustSong
84ce8c4b02 chore: set the default token quota to 1$ 2023-07-02 16:45:42 +08:00
mrhaoji
390dbc54fd chore: more hints in model mapping textarea (#205)
* chore: more hints in model mapping textarea

* fix: fix variable not defined

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-28 12:56:01 +08:00
JustSong
1ab01b7eb5 feat: support model remap now 2023-06-27 13:42:45 +08:00
mrhaoji
5974d4edbc chore: show equivalent amount next to remaining quota in the user editing page (#198) 2023-06-25 11:54:05 +08:00
JustSong
e4f7ac4089 feat: able to query logs now (close #144) 2023-06-24 15:28:11 +08:00
JustSong
56ac6445b1 chore: able to clear all models now 2023-06-22 20:53:21 +08:00
JustSong
dd87d0a47f chore: update base url setting 2023-06-22 20:49:55 +08:00
JustSong
17bd2d0c5b fix: do not show dollar balance if not enabled 2023-06-21 15:45:30 +08:00
JustSong
c32aa170cd feat: support custom base url for channels 2023-06-20 22:32:56 +08:00
JustSong
a6cc0226a7 feat: able to display quota in dollar 2023-06-20 20:09:17 +08:00
JustSong
946aa77347 refactor: make operation settings separated from system settings 2023-06-19 09:53:56 +08:00
JustSong
b4142308c5 feat: able to add chat page link now (close #70) 2023-06-17 23:51:56 +08:00
JustSong
d27698eedf feat: now one channel can belong to multiple groups (close #153) 2023-06-14 12:14:08 +08:00
JustSong
ff1380ef87 chore: add trailing slash for API calling 2023-06-11 16:33:40 +08:00
JustSong
1e791392f2 feat: able to set group ratio now (close #62, close #142) 2023-06-11 11:08:16 +08:00
JustSong
532b60f753 feat: now user can check its topup & consume history (close #78, close #95) 2023-06-10 16:04:04 +08:00
JustSong
a04afb22ea feat: support set proxy for channel OpenAI (close #139) 2023-06-09 18:30:01 +08:00
JustSong
d5634ee7e7 feat: able to manage group now 2023-06-08 09:26:54 +08:00
JustSong
cbf339284c feat: support group now (close #17, close #72, close #85, close #104, close #136)
Co-authored-by: quzard <1191890118@qq.com>
2023-06-07 23:26:00 +08:00
JustSong
2a7462e081 chore: update config prompt (close #133) 2023-06-01 18:15:53 +08:00
JustSong
bc4c572b41 style: fix UI related problems 2023-05-22 22:41:39 +08:00
JustSong
eef09897f8 style: add positive attribute to submit buttons (close #113) 2023-05-22 22:30:11 +08:00
JustSong
ea395dd9c0 chore: prompt user if redemption code not input 2023-05-21 10:32:47 +08:00
JustSong
5b82990f13 style: add comma to quota stat 2023-05-21 10:15:30 +08:00
JustSong
8a7f597048 feat: able to manage user's quota now 2023-05-21 10:01:02 +08:00
JustSong
a241c5a6b3 chore: set default value for Azure's api version if not set 2023-05-19 22:13:29 +08:00
JustSong
c1754f777d chore: update prompt 2023-05-16 11:58:26 +08:00