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
mrhaoji
640cc2df91
fix: InitChannelCache does not filter disabled channels ( #201 )
...
* chore: Show the HTTP status code in the test_time script to determine the success or failure of the request.
* fix: InitChannelCache does not filter disabled channels
* chore: do not hardcode
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
2023-06-25 23:14:15 +08:00
mrhaoji
8d23abd071
chore: show the HTTP status code in the test_time script to determine the success or failure of the request ( #200 )
2023-06-25 22:58:16 +08:00
JustSong
4fc2c3ba57
chore: do not show completion ratio anymore
2023-06-25 20:29:42 +08:00
JustSong
f4cf9764d2
docs: update README
2023-06-25 15:14:52 +08:00
JustSong
64d31d0d42
docs: update README
2023-06-25 15:14:09 +08:00
JustSong
4cef57fec2
chore: update default ratio for text-embedding-ada-002
2023-06-25 12:07:42 +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
44a78a755f
feat: support /v1/edits now ( close #196 )
2023-06-25 11:46:23 +08:00
JustSong
a75364d2ae
chore: update the number that representing the unlimited quota
2023-06-25 10:52:46 +08:00
JustSong
27177ee1f4
fix: check if token is nil before using it
2023-06-25 10:40:54 +08:00
JustSong
6b2b656468
chore: billing api now will return a large number if unlimited quota is set
2023-06-25 10:39:22 +08:00
JustSong
196703caf5
perf: validate the request first before send to OpenAI's server
2023-06-25 10:25:33 +08:00
JustSong
462ad0c50f
fix: do not record if used quota is zero
2023-06-25 09:59:58 +08:00
JustSong
668c860b8d
fix: do not charge the user if the amount of tokens used was zero
2023-06-25 09:56:03 +08:00
JustSong
b8b042407a
fix: fix usage is not correct
2023-06-25 09:36:39 +08:00
quzard
fc85539222
fix: fix log sorting ( #195 )
2023-06-24 21:34:20 +08:00
JustSong
8b8645af45
fix: do not reuse state variable directly
2023-06-24 19:45:18 +08:00
JustSong
536cbe4c8b
fix: reset page number after query
2023-06-24 19:32:46 +08:00