CaIon
e2a1caba4c
fix: 修复渠道一致性问题
2024-01-12 14:36:15 +08:00
CaIon
64e9e9cc20
fix: 完善令牌预扣费逻辑
2024-01-11 14:12:48 +08:00
CaIon
a3b726dd82
fix: 修复高并发下,高额度用户使用低额度令牌没有预扣费的问题
2024-01-10 14:23:23 +08:00
CaIon
3e13810ca2
fix: fix channel panic
2024-01-10 00:17:03 +08:00
CaIon
1244963e81
feat: 可设置令牌能调用的模型
2024-01-08 16:25:17 +08:00
CaIon
64862cd634
fix: recover panic
2024-01-07 22:25:03 +08:00
CaIon
bba6174745
fix: fix gemini panic
2024-01-07 21:27:28 +08:00
CaIon
b86bc169a5
无效的请求返回具体原因
2023-12-28 23:59:46 +08:00
CaIon
e057c0e42e
添加gemini支持
2023-12-18 23:46:05 +08:00
CaIon
42469cb782
修复无法指定渠道id的问题
2023-12-14 16:43:20 +08:00
CaIon
6e744bd1a3
修改错误提示
2023-12-01 01:29:13 +08:00
CaIon
7ffc2e34a6
fix mj submit bug
2023-11-28 23:15:17 +08:00
CaIon
cf663e7ac4
fix whisper-1
2023-11-19 16:35:37 +08:00
CaIon
63cd3f05f2
support tts
2023-11-15 21:05:14 +08:00
CaIon
fc2ef52366
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# README.md
# go.mod
# go.sum
# model/log.go
# web/src/App.js
# web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
b4b4acc288
feat: support Tencent's model ( close #519 )
2023-10-03 14:19:03 +08:00
JustSong
f9b748c2ca
chore: add MEMORY_CACHE_ENABLED env variable
2023-09-29 11:38:27 +08:00
CaIon
b06c370fd9
feat: 渠道新可选是否自动禁用功能
2023-09-25 18:53:59 +08:00
CaIon
80271b33ba
feat: 渠道新可选是否自动禁用功能
2023-09-25 18:44:10 +08:00
CaIon
e6bb113f35
fix bug
2023-09-18 23:06:00 +08:00
Calcium-Ion
26f9d25860
Merge branch 'songquanpeng:main' into main
2023-09-18 22:52:10 +08:00
JustSong
159b9e3369
fix: fix unable to set zero value for base url & model mapping
2023-09-18 22:07:17 +08:00
CaIon
985e26fd1b
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# controller/log.go
# controller/relay-audio.go
# controller/relay-image.go
# controller/relay-text.go
# controller/relay.go
# middleware/distributor.go
# model/log.go
# web/src/components/OperationSetting.js
2023-09-17 20:59:12 +08:00
JustSong
42451d9d02
refactor: update logging related logic
2023-09-17 15:39:46 +08:00
CaIon
0115d1d194
fix bug
2023-09-09 04:29:00 +08:00
CaIon
443e2bd168
合并请求
2023-09-09 03:19:55 +08:00
CaIon
9c08d78349
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# controller/relay.go
# main.go
# middleware/distributor.go
2023-09-09 03:15:55 +08:00
CaIon
9ab4f7a271
移除不必要的功能
2023-09-09 03:11:42 +08:00
JustSong
621eb91b46
chore: pass through error out
2023-09-03 21:31:58 +08:00
JustSong
04acdb1ccb
feat: support aiproxy's library
2023-09-03 12:51:59 +08:00
CaIon
fe94656260
修复多路复用bug
2023-08-31 00:44:16 +08:00
JustSong
d09d317459
feat: supper whisper now ( close #197 )
2023-08-27 15:28:23 +08:00
CaIon
c0f0201f5f
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# controller/relay-text.go
# go.mod
# web/src/components/PersonalSetting.js
# web/src/components/TokensTable.js
# web/src/pages/Home/index.js
2023-08-25 00:51:02 +08:00
滔哥
7e058bfb9b
feat: support xunfei's v2 api ( #442 , close #440 )
...
* 兼容讯飞v2接口
* Revert "兼容讯飞v2接口"
This reverts commit 21f05d1294b8693d0a21664a23ec04f028b9b117.
* fix: fix implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-08-19 17:50:34 +08:00
CaIon
8f2119e410
add epay
2023-08-14 22:16:32 +08:00
JustSong
c87e05bfc2
chore: add more context in error message
2023-07-23 09:49:46 +08:00
ckt
b520b54625
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
玩牛牛
81c5901123
feat: add support for /v1/engines/text-embedding-ada-002/embeddings ( #224 , close #222 )
2023-07-15 12:03:23 +08:00
JustSong
aabc546691
fix: fix the wrong message when channel is deleted
2023-06-29 11:27:34 +08:00
JustSong
0941e294bf
feat: support model remap now
2023-06-27 13:42:45 +08:00
JustSong
8a4cd403fd
fix: fix http status code ( close #193 )
2023-06-23 22:59:44 +08:00
JustSong
6d961064d2
feat: do not access database before response return ( close #158 )
2023-06-21 17:26:26 +08:00
JustSong
634099e592
fix: cors allow all headers
2023-06-20 22:04:01 +08:00
JustSong
3d76a974d1
feat: use cache to avoid database access ( #158 )
2023-06-20 19:09:49 +08:00
JustSong
6855d0dc39
chore: add x-requested-with header in CORS setting
2023-06-17 15:30:14 +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
JustSong
596446dba4
feat: able to set group ratio now ( close #62 , close #142 )
2023-06-11 11:08:16 +08:00
JustSong
4339f45f74
feat: support /v1/moderations now ( close #117 )
2023-06-11 09:37:36 +08:00
JustSong
8901f03864
feat: support set proxy for channel OpenAI ( close #139 )
2023-06-09 18:30:01 +08:00
JustSong
2ad22e1425
feat: support group now ( close #17 , close #72 , close #85 , close #104 , close #136 )
...
Co-authored-by: quzard <1191890118@qq.com>
2023-06-07 23:26:00 +08:00