Commit Graph

152 Commits

Author SHA1 Message Date
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
quzard
3a1bb6b308
Remove -0613 from azure‘s model 2023-06-14 15:55:46 +08:00
quzard
e6a29f88fb add gpt-35-turbo 2023-06-14 13:39:53 +08:00
quzard
51e79e3f50 Merge remote-tracking branch 'songquanpeng/main'
# Conflicts:
#	controller/model.go
2023-06-14 12:53:51 +08:00
JustSong
38668e7331 chore: update gpt3.5 completion ratio 2023-06-14 09:41:06 +08:00
JustSong
323f3d263a feat: add new released models 2023-06-14 09:12:14 +08:00
quzard
0e186bcd24
Merge pull request #24 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-12 16:20:38 +08:00
JustSong
7c7eb6b7ec fix: now the input field can be array type now (close #149) 2023-06-12 16:11:57 +08:00
quzard
96411efa4c
Merge branch 'songquanpeng:main' into main 2023-06-11 21:07:56 +08:00
quzard
47ca449e32
feat: add support for updating balance of channel typpe OpenAI-SB (#146, close #125)
* Add support for updating channel balance in OpenAISB

* fix: handel error

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-11 21:04:41 +08:00
quzard
c03ce64681
Merge pull request #20 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-11 11:39:21 +08:00
JustSong
077853416d chore: record ratio detail in log 2023-06-11 11:11:19 +08:00
JustSong
596446dba4 feat: able to set group ratio now (close #62, close #142) 2023-06-11 11:08:16 +08:00
quzard
cc9d5b7117
Merge pull request #19 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-11 11:02:54 +08:00
JustSong
9d0bec83df chore: update prompt 2023-06-11 09:55:50 +08:00
quzard
a569771e01
Merge pull request #18 from songquanpeng/main
Fork Sync: Update from parent repository
2023-06-11 09:53:26 +08:00
JustSong
f97a9ce597 fix: correct OpenAI error code's type 2023-06-11 09:49:57 +08:00