Commit Graph

178 Commits

Author SHA1 Message Date
CaIon
06fc41d9a0 feat: add midjourney log 2023-09-12 03:17:26 +08:00
CaIon
57edbac346 feat: 删除无用功能 2023-09-10 01:13:12 +08:00
CaIon
ff8df45f95 修复充值bug 2023-09-09 05:04:49 +08:00
CaIon
c0636950c0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay.go
#	main.go
#	middleware/distributor.go
2023-09-09 03:15:55 +08:00
CaIon
f73ecc57c2 移除不必要的功能 2023-09-09 03:11:42 +08:00
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
3cb7892864 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
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
CaIon
46d817ab64 merge 2023-08-25 01:03:45 +08:00
CaIon
e60239c93d Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay-text.go
#	go.mod
#	web/src/components/PersonalSetting.js
#	web/src/components/TokensTable.js
#	web/src/pages/Home/index.js
2023-08-25 00:51:02 +08:00
CaIon
c7d1cef7b4 修改stat接口返回值 2023-08-25 00:40:11 +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
Benny
92e34fa0c5 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
CaIon
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
igophper
27b290c578 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
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
618e3b4c88 chore: update domain 2023-08-06 18:14:13 +08:00
Miniers
7c3a1e90f1 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
a8acca398f 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
81e4305c4c chore: update title for xunfei 2023-07-29 22:09:10 +08:00
JustSong
c2be293853 chore: update prompt for xunfei 2023-07-29 22:05:15 +08:00
JustSong
11e62bb63f feat: support xunfei's llm (close #206) 2023-07-29 21:55:57 +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
JustSong
d1d1d4fde4 feat: support ali's llm (close #326) 2023-07-28 23:45:08 +08:00
JustSong
04b8b4124a fix: fix blank screen after refresh 2023-07-23 17:59:30 +08:00
ckt
9412966b2c 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°
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
91f8d22369 feat: support zhipu's ChatGLM (close #289) 2023-07-23 11:51:44 +08:00
JustSong
9a571241f5 feat: support Google PaLM2 (close #105) 2023-07-23 00:32:47 +08:00
JustSong
9d3f88de44 chore: add notice for baidu 2023-07-22 23:27:04 +08:00
JustSong
3fc2c5fbf6 feat: support baidu's models now (close #286) 2023-07-22 23:24:09 +08:00
JustSong
14ab35785b fix: fix model editing now working properly (close #288) 2023-07-22 18:56:36 +08:00
JustSong
3379ea5e2f feat: support claude now (close #150) 2023-07-22 16:18:03 +08:00
JustSong
8a0f707d64 feat: retry on failed (close #112) 2023-07-15 19:06:51 +08:00
JustSong
1158a8c364 revert: do not enable turnstile check on login 2023-07-15 16:06:01 +08:00
JustSong
368b060a0d Merge branch 'main' of github.com:songquanpeng/one-api 2023-07-15 13:52:26 +08:00
JustSong
cd12437330 feat: support custom model now (close #276) 2023-07-15 13:51:46 +08:00
ckt
caace6a291 feat: add turnstile for login form (#263) 2023-07-15 12:41:21 +08:00