Commit Graph

2055 Commits

Author SHA1 Message Date
JustSong
d4a976d0e6 fix: fix SMTPFrom not updated in some cases (close #34) 2023-05-13 22:04:36 +08:00
JustSong
86117cd704 fix: fix garbled email subject (#34) 2023-05-13 21:41:52 +08:00
JustSong
80176fdfe8 feat: able to customize home page now (#24) 2023-05-13 21:27:49 +08:00
JustSong
5792db44c3 fix: support smtp server with port 465 2023-05-13 18:57:27 +08:00
JustSong
6cb284c8fd feat: able to configure smtp from now (close #34) 2023-05-13 18:33:41 +08:00
JustSong
bc87b023f5 feat: support batch creation of channels (close #58) 2023-05-13 17:08:13 +08:00
JustSong
bb13fe818c refactor: rename file to conform to standards 2023-05-13 15:43:55 +08:00
JustSong
badbb0962f refactor: use built in smtp library (close #34) 2023-05-13 15:30:09 +08:00
JustSong
9ed9eaa65f feat: support specific default api version now (#57) 2023-05-13 12:53:57 +08:00
JustSong
6c2e1aab65 chore: update prompt for Azure channel configuration (#57) 2023-05-13 12:29:17 +08:00
JustSong
b4bfc95297 fix: remove the dot in model name (#57) 2023-05-13 12:24:49 +08:00
JustSong
f957def461 docs: update README 2023-05-13 11:48:37 +08:00
JustSong
479ccebedb fix: provide a default value for api-version if not given (#57) 2023-05-13 11:41:57 +08:00
JustSong
d97d50b14c feat: Azure API supported without verification (#48, #57) 2023-05-13 11:36:36 +08:00
JustSong
17f1714256 fix: handle errors when update option map 2023-05-13 10:30:55 +08:00
JustSong
d11134d98f feat: now supports custom smtp port 2023-05-12 11:44:38 +08:00
JustSong
b14b400509 fix: fix the default ratio for text-embedding-ada-002 2023-05-11 22:43:39 +08:00
JustSong
8f64927af2 fix: the initial quota for new token now calculated correctly (#51) 2023-05-11 21:29:05 +08:00
JustSong
b358248529 feat: support /v1/embeddings now (close #50) 2023-05-11 21:00:09 +08:00
JustSong
049a6def02 feat: able to configure ratio for more models now (close #53) 2023-05-11 20:59:35 +08:00
JustSong
929f87d11a fix: delete a token with a negative quota will now update the account's quota correctly (close #51) 2023-05-11 20:05:49 +08:00
chunzhi
587112ce3b feat: add Docker Compose support (#55)
* docker-compose.yml

* Create one-api.service

配置systemd守护进程

* Update docker-compose.yml

* Update one-api.service

* Update docker-compose.yml

* Update docker-compose.yml
2023-05-11 16:56:14 +08:00
JustSong
eded22137b feat: double check before deleting a user 2023-05-10 10:13:39 +08:00
JustSong
ac2a56f9cd feat: support API /dashboard/billing/credit_grants now (#45) 2023-05-10 09:28:41 +08:00
JustSong
6ff87f0796 docs: update README (#47) 2023-05-05 21:56:48 +08:00
JustSong
8b03ef6639 docs: add funding link 2023-05-05 15:26:54 +08:00
JustSong
7bd4c0e490 fix: return quota to user when delete token (close #37) 2023-05-04 10:20:39 +08:00
JustSong
28e05cdecd chore: update placeholder text (#36) 2023-04-29 18:42:05 +08:00
JustSong
563db52805 chore: update placeholder text (#36) 2023-04-29 18:41:19 +08:00
JustSong
36605cf095 fix: shouldn't close c.Request.Body too soon (close #35) 2023-04-29 14:49:10 +08:00
JustSong
033e832cae feat: able to configure ratio for different models (close #26) 2023-04-28 19:16:37 +08:00
JustSong
84c7ae8ad1 refactor: use tiktoken-go to calculate token number 2023-04-28 18:36:17 +08:00
JustSong
52877f99e8 fix: relay bug fix 2023-04-28 18:16:59 +08:00
JustSong
0760dcf6cc feat: support configuring ratio when estimating token number in stream mode 2023-04-28 17:25:05 +08:00
JustSong
52e92554ac refactor: improve relay's implementation 2023-04-28 17:11:57 +08:00
JustSong
bcdfb7d0d9 feat: now use token as the unit of quota (close #33) 2023-04-28 16:58:55 +08:00
JustSong
aa18ac4864 refactor: use quota instead of times 2023-04-28 14:57:20 +08:00
JustSong
567ff7359c fix: check user's role when manage user (#30) 2023-04-28 09:47:03 +08:00
JustSong
3c31997c4e style: add bottom margin for unlimited times button 2023-04-27 17:18:07 +08:00
JustSong
79dc851aa1 feat: able to set top up link now 2023-04-27 16:32:21 +08:00
JustSong
f820158ee5 fix: check user status when validating token (#23) 2023-04-27 15:05:33 +08:00
JustSong
9667bc86bc fix: root user cannot demote itself now (close #30) 2023-04-27 14:45:12 +08:00
JustSong
4bcc5f54f2 fix: fix MySQL syntax error (#54) 2023-04-27 11:10:10 +08:00
JustSong
a751f30316 fix: specify type for token (close #23) 2023-04-27 09:32:20 +08:00
JustSong
25ff9ebbe1 fix: remove rate limit for relay api 2023-04-26 21:50:09 +08:00
JustSong
9c529f9674 feat: able to set initial quota for new user (close #22) 2023-04-26 21:40:56 +08:00
JustSong
5a9fb6238b feat: able to manage system vai access token (close #12) 2023-04-26 20:54:39 +08:00
JustSong
863d8424b3 feat: download redemption codes as file (#12) 2023-04-26 17:13:08 +08:00
JustSong
be2b3f3fc6 feat: now user can top up via redemption code (close #9) 2023-04-26 17:02:26 +08:00
JustSong
d87bae94f5 fix: allow all origins (close #20) 2023-04-26 15:27:33 +08:00