Commit Graph

168 Commits

Author SHA1 Message Date
quzard
1fca4f308f Merge remote-tracking branch 'songquanpeng/main'
# Conflicts:
#	controller/relay-text.go
2023-06-21 17:51:16 +08:00
JustSong
6d961064d2 feat: do not access database before response return (close #158) 2023-06-21 17:26:26 +08:00
quzard
0facecce69 修改额度汇率的展现形式 2023-06-21 17:17:40 +08:00
quzard
11e473a665
Merge pull request #53 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-20 22:37:30 +08:00
JustSong
e398f470a1 feat: support custom base url for channels 2023-06-20 22:32:56 +08:00
quzard
e609d8027f 修改额度汇率的展现形式 2023-06-20 21:08:12 +08:00
quzard
5108f3c98f Merge remote-tracking branch 'songquanpeng/main' 2023-06-20 21:07:18 +08:00
JustSong
ced9f060c7 fix: fix used amount not correct 2023-06-20 21:05:07 +08:00
quzard
12f6d8d367 修改额度汇率的展现形式 2023-06-20 20:39:18 +08:00
quzard
234fb5ad20 fix 2023-06-20 20:32:13 +08:00
quzard
74cfc9917e fix 2023-06-20 20:22:27 +08:00
quzard
bd7a9b6576 Merge remote-tracking branch 'songquanpeng/main'
# Conflicts:
#	controller/relay-text.go
#	middleware/distributor.go
2023-06-20 20:15:57 +08:00
JustSong
b179c2f208 feat: able to display quota in dollar 2023-06-20 20:09:17 +08:00
quzard
f882958928 fix 2023-06-20 16:02:02 +08:00
quzard
8322ec0cdb 日志保存token消耗 2023-06-20 15:18:27 +08:00
quzard
aeb4685f2f 反代 不查询余额 2023-06-20 15:00:02 +08:00
quzard
5ce638a4d4 openai 强制使用 0613 模型。强制使用 16k 模型。 2023-06-20 14:56:24 +08:00
quzard
8796db7d71 反代 不消耗token 2023-06-19 22:17:09 +08:00
quzard
c9e34b0d5a
Merge pull request #48 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-19 15:16:09 +08:00
JustSong
33846ce4f6 refactor: rename function 2023-06-19 15:00:22 +08:00
quzard
8bfea688a7 fix channel test 2023-06-19 11:32:12 +08:00
quzard
e8b50b3e78 Merge remote-tracking branch 'songquanpeng/main'
# Conflicts:
#	controller/relay.go
2023-06-19 11:20:29 +08:00
JustSong
f6fe34676f refactor: split the relay controller 2023-06-19 10:28:55 +08:00
quzard
e879fb68cf
Merge pull request #44 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-18 22:13:58 +08:00
JustSong
aa0a9f2262 fix: fix wrong field name in SQL 2023-06-18 22:07:40 +08:00
quzard
91fa6dec45 Merge remote-tracking branch 'songquanpeng/main'
# Conflicts:
#	web/src/components/Header.js
2023-06-18 00:33:21 +08:00
JustSong
dc94765d32 fix: do not print response to console 2023-06-18 00:22:22 +08:00
JustSong
1cb1f727c0 fix: fix the shared field is modified 2023-06-18 00:20:06 +08:00
JustSong
d97640374c feat: able to add chat page link now (close #70) 2023-06-17 23:51:56 +08:00
quzard
a19bd195bd
Merge pull request #38 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-17 18:16:19 +08:00
JustSong
c5837c3bb7 feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00
quzard
625d0d4be5 使用MaxTokens 2023-06-17 17:36:35 +08:00
quzard
fc761b74af Merge remote-tracking branch 'songquanpeng/main' 2023-06-17 15:31:52 +08:00
Kidultx
a43b1e2add
feat: support API2GPT platform (#173)
* support API2GPT platform

* chore: update balance renderer

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-17 15:20:51 +08:00
quzard
33ca955955
Merge pull request #36 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-17 15:14:34 +08:00
Miniers
46c43396d8
feat: add token name to log (#172)
* add token name to log

* chore: update expression

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-17 14:56:03 +08:00
quzard
832c6e56ae Merge remote-tracking branch 'songquanpeng/main'
# Conflicts:
#	web/src/components/ChannelsTable.js
2023-06-17 11:06:06 +08:00
Joe
b7d71b4f0a
feat: support update AIProxy balance (#171)
* Add: support update AIProxy balance

* fix auth header

* chore: update balance renderer

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-17 10:08:04 +08:00
quzard
735fb0c7bd 强制使用0613模型 2023-06-17 10:03:26 +08:00
quzard
9d85e8f79d 更新上游 2023-06-17 09:58:08 +08:00
quzard
a5dbfe2676 兼容gpt-35-turbo 2023-06-17 09:54:07 +08:00
JustSong
70ed126ccb feat: return a not found response if requested a wrong API endpoints 2023-06-17 09:46:07 +08:00
quzard
7c1a02d0dd Merge remote-tracking branch 'songquanpeng/main'
# Conflicts:
#	controller/relay.go
2023-06-16 16:46:48 +08:00
JustSong
0cdab80a6e feat: record channel's used quota (close #137) 2023-06-16 16:02:00 +08:00
JustSong
760183a970 feat: record used quota & request count (close #102, #165) 2023-06-16 15:20:06 +08:00
JustSong
58fb18aace fix: do not record completion ratio anymore 2023-06-16 14:24:16 +08:00
张城铭
630156dc0a
fix: the prompt field can be array type now (close #166, #167)
* fix: the prompt field can be array type now (close #166)

* fix: fix prompt type

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-16 14:20:25 +08:00
quzard
90cd939df1 disable MaxTokens 2023-06-14 17:44:47 +08:00
quzard
e87ad1f402
chore: remove -0613 suffix for Azure (#163) 2023-06-14 16:33:03 +08:00
quzard
9498dd661e Merge remote-tracking branch 'origin/patch-5' 2023-06-14 16:08:08 +08:00