Commit Graph

20 Commits

Author SHA1 Message Date
CaIon
d6d4623f77 消费日志添加用户调用前余额 2023-12-07 16:58:24 +08:00
CaIon
35a3c61021 修改错误提示 2023-12-01 01:29:13 +08:00
CaIon
294dc8d8e7 修复tts异常时仍然扣费的问题 2023-11-27 19:21:16 +08:00
CaIon
3baf231a1f 移除检查更新 2023-11-27 14:24:28 +08:00
CaIon
89c04a2cfe fix email bug 2023-11-21 14:34:48 +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
5894e7dcdb fix image bug 2023-11-10 17:08:43 +08:00
CaIon
8c5fd7b7ee 适配dall-e-3 2023-11-09 17:08:32 +08:00
Calcium-Ion
f439c4d553 Merge branch 'songquanpeng:main' into main 2023-10-30 16:12:09 +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
fd36feb723 fix: check user quota when pre-consume quota 2023-10-01 12:49:40 +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
JustSong
315d7e8692 refactor: update logging related logic 2023-09-17 15:39:46 +08:00
CaIon
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong
a989fef50c perf: reuse http client to reduce delay 2023-07-23 15:18:58 +08:00
ckt
b1cb2602dc 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
JustSong
c02892ea6a refactor: split the relay controller 2023-06-19 10:28:55 +08:00