Commit Graph

2055 Commits

Author SHA1 Message Date
JustSong
8a0f707d64 feat: retry on failed (close #112) 2023-07-15 19:06:51 +08:00
JustSong
efdc6c751d feat: support ChatGLM2 (close #274) 2023-07-15 17:07:05 +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
ckt
b1cb2602dc feat: initial support of Dall-E (#148, #266)
* feat: initial support of Dall-E

* fix: fix N not timed

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-07-15 12:30:06 +08:00
玩牛牛
ab437eb663 feat: add support for /v1/engines/text-embedding-ada-002/embeddings (#224, close #222) 2023-07-15 12:03:23 +08:00
JustSong
2ff650432f feat: disable channel when account_deactivated received (close #271) 2023-07-15 11:49:58 +08:00
ckt
b09fe1aebb chore: update i18n (#262)
* chore: 优化翻译

* Update en.json
2023-07-12 22:50:02 +08:00
mrhaoji
c92d2a3c72 fix: restore display_name/username that deleted before (#268)
which happend in commit # 2c91f73
2023-07-12 22:43:54 +08:00
JustSong
1685b991b4 docs: update README (close #257) 2023-07-08 12:03:55 +08:00
JustSong
7765aa1d3d fix: use transaction to protect redeem process 2023-07-07 21:26:45 +08:00
JustSong
d644150c2a docs: update README 2023-07-05 18:43:11 +08:00
JustSong
0913fd5cf2 fix: fix http2: invalid Connection request header: [\"upgrade\"]" 2023-07-04 21:24:49 +08:00
JustSong
16b6ace078 feat: able to approximate token (close #207) 2023-07-04 19:54:13 +08:00
mrhaoji
2c91f73a92 chore: remove email in UsersTable to make room for other fields (#246)
* chore: remove email in UsersTable to make room for others

* fix: fix not working properly

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-04 18:57:44 +08:00
JustSong
083bfecf3b chore: update channel add & edit page 2023-07-04 18:40:36 +08:00
mrhaoji
6a34813bea chore: add model parameter to the time_test script (#245)
default value is gpt-3.5-turbo
2023-07-04 18:13:59 +08:00
Cross Fire
3b247077d2 feat: support balance query for CloseAI (#240)
* 增加CloseAI余额查询功能

* 去除debug代码

* fix: bug fix

* docs: update README

---------

Co-authored-by: sudongyang <sudongyang@xiaomi.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-03 20:43:42 +08:00
JustSong
52cf4d7cd8 docs: update README 2023-07-03 19:51:12 +08:00
JustSong
6adf99c97f docs: update README 2023-07-03 19:50:17 +08:00
quzard
af6c2f475e chore: update countTokenMessages (#238) 2023-07-03 09:42:34 +08:00
JustSong
84ce8c4b02 chore: set the default token quota to 1$ 2023-07-02 16:45:42 +08:00
JustSong
87872d9c41 docs: update README 2023-07-02 16:35:40 +08:00
JustSong
8091f9df7c docs: update README 2023-07-02 16:25:14 +08:00
JustSong
b8816aac71 chore: ignore FRONTEND_BASE_URL on master node 2023-07-02 16:07:12 +08:00
JustSong
e782962a31 fix: fix refresh not working properly (close #229) 2023-07-02 15:55:49 +08:00
JustSong
a26e0ebf4d docs: update README 2023-07-02 14:57:10 +08:00
JustSong
c4dbb3414f docs: update README 2023-07-02 14:53:50 +08:00
JustSong
657b6b0a69 fix: fix cannot enable token if set to unlimited time (close #230) 2023-07-02 14:47:06 +08:00
JustSong
32b74c3ffc fix: fix channel search is not working with MySQL 2023-06-29 21:46:13 +08:00
Alone88
244ca0351f feat: support channel type AIGC2D (#220)
* feat: add AIGC2D Channel

* chore: remove console logging & update balance rendering

---------

Co-authored-by: Alone88 <im@aloen88.cn>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-29 21:34:17 +08:00
JustSong
8783dbacb2 docs: update README 2023-06-29 21:22:23 +08:00
JustSong
580de07735 fix: fix AutomaticDisableChannelEnabled option not ignored (close #217) 2023-06-29 15:54:12 +08:00
JustSong
adc3d0e311 docs: update README 2023-06-29 11:39:43 +08:00
JustSong
18a4f02da6 docs: update issue templates 2023-06-29 11:33:51 +08:00
JustSong
10cc349b82 docs: update issue templates 2023-06-29 11:33:02 +08:00
JustSong
51fe811329 docs: update issue templates 2023-06-29 11:32:36 +08:00
JustSong
f158d754ef fix: fix the wrong message when channel is deleted 2023-06-29 11:27:34 +08:00
JustSong
f5d3b8969f docs: update README 2023-06-29 10:59:41 +08:00
JustSong
bd2c9d8c66 docs: update README 2023-06-28 13:38:09 +08:00
JustSong
2d2e4e0bf1 docs: update README 2023-06-28 13:19:01 +08:00
Archer
aad0ba2add docs: update README (#210)
* deploy docs

* docs: update README

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-28 13:01:29 +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
446a2a1c4a docs: update README 2023-06-27 23:36:12 +08:00
JustSong
fe6bd3a273 fix: fix wrong env var name 2023-06-27 23:34:23 +08:00
JustSong
da94aade10 fix: update cached user quota after post-consuming (close #204) 2023-06-27 19:22:58 +08:00
JustSong
1ab01b7eb5 feat: support model remap now 2023-06-27 13:42:45 +08:00
JustSong
b456624a35 refactor: do not use redis to store session 2023-06-26 16:10:59 +08:00