CaIon
|
ffbde7d751
|
支持设置模型按次计费
|
2023-12-21 20:14:04 +08:00 |
|
CaIon
|
48b94dd24d
|
update GeneralOpenAIRequest
|
2023-12-20 21:20:09 +08:00 |
|
CaIon
|
1baf092c76
|
fix gemini
|
2023-12-19 12:53:56 +08:00 |
|
CaIon
|
796760222c
|
添加gemini支持
|
2023-12-18 23:46:05 +08:00 |
|
CaIon
|
d6d4623f77
|
消费日志添加用户调用前余额
|
2023-12-07 16:58:24 +08:00 |
|
CaIon
|
a539b200e1
|
预扣费增加用户余额检测
|
2023-12-05 17:11:37 +08:00 |
|
CaIon
|
2c45cf6e74
|
record relay time
|
2023-11-23 03:06:04 +08:00 |
|
CaIon
|
7e29eaa0d9
|
删除relay-text中的consumeQuota变量
|
2023-11-23 02:56:18 +08:00 |
|
CaIon
|
5f48b80830
|
record all the consume log even if quota is 0
|
2023-11-22 23:03:40 +08:00 |
|
CaIon
|
7115390fc8
|
support gpt-4-1106-vision-preview
|
2023-11-17 20:32:37 +08:00 |
|
CaIon
|
28fe74d76c
|
try to fix email
|
2023-11-15 18:27:42 +08:00 |
|
CaIon
|
04fe42c634
|
修复余额不足邮件提醒bug
|
2023-11-12 18:51:26 +08:00 |
|
CaIon
|
eec9046c3a
|
更换前端组件库
|
2023-10-31 00:03:22 +08:00 |
|
Calcium-Ion
|
f439c4d553
|
Merge branch 'songquanpeng:main' into main
|
2023-10-30 16:12:09 +08:00 |
|
JustSong
|
0e4f9e4690
|
feat: able to set RELAY_TIMEOUT
|
2023-10-22 20:39:49 +08:00 |
|
JustSong
|
0c7b132dde
|
feat: support ERNIE-Bot-4 (close #608)
|
2023-10-22 18:48:35 +08:00 |
|
yiGmMk
|
033ff32b44
|
fix: set Accept header if not given (#615)
* fix: fastgpt调用通义千问问答失败
* refactor: Dockerfile
* Revert "refactor: Dockerfile"
This reverts commit a538c4f28eaf4dee66df3b4d951a3dc29d4db9ec.
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
|
2023-10-22 17:56:20 +08:00 |
|
vc
|
46f12bc4fa
|
feat: add cloudflare ai gateway support for image & audio (#607)
* Update channel-test.go
* Update relay-audio.go
* Update relay-image.go
* chore: using a util function
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
|
2023-10-22 17:50:52 +08:00 |
|
CaIon
|
ba7e6324d3
|
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
|
30b8bb362a
|
feat: support cloudflare AI gateway now (close #565, #598)
|
2023-10-14 15:26:28 +08:00 |
|
JustSong
|
4d65a13ae9
|
feat: support Tencent's model (close #519)
|
2023-10-03 14:19:03 +08:00 |
|
JustSong
|
fd36feb723
|
fix: check user quota when pre-consume quota
|
2023-10-01 12:49:40 +08:00 |
|
CaIon
|
8a8202ae0f
|
fix: enable cors for token routers and dashboard routers
|
2023-09-18 01:42:04 +08:00 |
|
CaIon
|
8344b66ba9
|
合并最新代码
|
2023-09-17 21:07:00 +08:00 |
|
CaIon
|
23d9554415
|
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 |
|
Xyfacai
|
ead3b915ca
|
feat: supprt channel priority now & record channel id in log (#484)
* feat: 支持设置渠道优先级 & 日志中显示使用的渠道ID
* fix: 设置渠道优先级未更新 ability
* chore: update implementation
---------
Co-authored-by: Xiangyuan Liu <xiangyuan.liu@ui.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
|
2023-09-17 19:18:16 +08:00 |
|
igophper
|
6c5dea7b01
|
feat: support non-stream mode for xunfei (#498)
* feat:xunfei suport none stream
* fix:join content ignore seq
---------
Co-authored-by: igophper <admin@jialilgu.cn>
|
2023-09-17 18:16:12 +08:00 |
|
JustSong
|
315d7e8692
|
refactor: update logging related logic
|
2023-09-17 15:39:46 +08:00 |
|
CaIon
|
ac97409a3e
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# web/src/components/PersonalSetting.js
|
2023-09-15 18:01:06 +08:00 |
|
CaIon
|
2a961f1cbc
|
feat: 渠道支持指定组织
|
2023-09-15 17:59:01 +08:00 |
|
JustSong
|
6d241249d2
|
perf: only return quota when it's not zero
|
2023-09-13 22:05:10 +08:00 |
|
JustSong
|
750bf17334
|
fix: fix quota not return when error occurred (close #518)
|
2023-09-13 21:50:45 +08:00 |
|
CaIon
|
c0636950c0
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# controller/relay.go
# main.go
# middleware/distributor.go
|
2023-09-09 03:15:55 +08:00 |
|
CaIon
|
f73ecc57c2
|
移除不必要的功能
|
2023-09-09 03:11:42 +08:00 |
|
CaIon
|
e25bcce452
|
merge
|
2023-09-09 01:50:41 +08:00 |
|
igophper
|
b31a9d7576
|
fix: support ali's embedding model (#481, close #469)
* feat:支持阿里的 embedding 模型
* fix: add to model list
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
|
2023-09-03 22:12:35 +08:00 |
|
JustSong
|
fa0fedff5c
|
chore: pass through error out
|
2023-09-03 21:31:58 +08:00 |
|
JustSong
|
8e0a744da3
|
feat: support aiproxy's library
|
2023-09-03 12:51:59 +08:00 |
|
CaIon
|
a4cf25f4c6
|
修复多路复用bug
|
2023-08-31 00:44:16 +08:00 |
|
JustSong
|
59eab66373
|
feat: supper OpenRouter now (close #333, close #340)
|
2023-08-27 16:16:45 +08:00 |
|
JustSong
|
5ac2eac15f
|
fix: fix error response (close #468)
|
2023-08-26 12:37:45 +08:00 |
|
CaIon
|
46d817ab64
|
merge
|
2023-08-25 01:03:45 +08:00 |
|
CaIon
|
e60239c93d
|
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 |
|
glzjin
|
04bd77e5d6
|
fix: fix xunfei crash (#451)
|
2023-08-20 22:07:50 +08:00 |
|
Benny
|
996b005173
|
fix: empty completion issue caused by bad status code from upstream channel (#422)
|
2023-08-19 17:58:45 +08:00 |
|
Benny
|
6c44925286
|
fix: claude model ratio (#449)
* fix: Claude model ratio
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
|
2023-08-19 16:58:34 +08:00 |
|
JustSong
|
8cfc5eeb97
|
fix: update cache immediately after cache get
Co-authored-by: chikasaki <1347283135@qq.com>
Co-authored-by: Cruel <157922018@qq.com>
|
2023-08-16 23:40:50 +08:00 |
|
CaIon
|
68b24da6a6
|
add epay
|
2023-08-14 22:16:32 +08:00 |
|
igophper
|
91bcc5f738
|
feat: able to refresh baidu access token automatically (#400, close #401)
* feat:baidu channel support apiKey and secretKey
添加百度文心渠道时支持填写secretKey|apiKey或者accessToken,支持自动刷新accessToken
* fix
* fix
* fix
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
|
2023-08-12 23:41:44 +08:00 |
|
JustSong
|
995b3147ce
|
perf: use a goroutine to handle quota post consumption (#364)
|
2023-08-12 19:36:31 +08:00 |
|