Commit Graph

158 Commits

Author SHA1 Message Date
CaIon
44465a398b support gpts 2023-12-11 19:50:43 +08:00
CaIon
79d7758617 充值改为保留两位小数 2023-12-09 22:56:24 +08:00
CaIon
aa07ada0f4 fix pgsql 2023-12-08 13:15:59 +08:00
CaIon
3ee4136256 消费日志添加用户调用前余额 2023-12-07 16:58:24 +08:00
CaIon
7dc8b0ea93 更新渠道管理 2023-12-05 18:15:40 +08:00
CaIon
3121afd2e0 修复令牌添加、搜索bug 2023-11-25 17:30:36 +08:00
CaIon
69f2c41853 fix bug 2023-11-23 19:01:14 +08:00
Calcium-Ion
2ee3dbbc18
Merge pull request #14 from luxlzz6/main
绘画列表显示统一了风格 添加了渠道
2023-11-23 18:55:18 +08:00
luxl
3e89112b1c
绘图列表更新 2023-11-23 18:18:03 +08:00
AIASS Group
15d3e9819d
fix the issue of model repetition 2023-11-23 15:36:07 +08:00
CaIon
560753c61f 修复可用模型显示已禁用模型 2023-11-22 23:02:43 +08:00
CaIon
f18f585fc8 修复可用model重复显示bug 2023-11-21 16:58:31 +08:00
CaIon
fd57a1df08 完善个人中心 2023-11-21 16:35:51 +08:00
CaIon
c75a92f6a4 Merge branch 'main' into latest 2023-11-15 21:07:37 +08:00
CaIon
16ad764f9b try to fix email 2023-11-15 18:27:42 +08:00
luxl
08b8b7b980
Update token.go 2023-11-14 16:41:19 +08:00
CaIon
3202ca9f3e 修复余额不足邮件提醒bug 2023-11-12 18:51:26 +08:00
CaIon
46930bc890 完全移除近似估算token功能 2023-11-11 01:55:19 +08:00
CaIon
6ceaf9f6a5 fix log bug 2023-11-10 01:59:16 +08:00
CaIon
e3fca11f99 修复令牌bug 2023-11-10 00:46:17 +08:00
CaIon
44d9eb9d05 完善兑换码界面 2023-11-10 00:10:41 +08:00
CaIon
3ff4210fc4 适配dall-e-3 2023-11-09 17:08:32 +08:00
Calcium-Ion
7688e9f9dd
Merge branch 'songquanpeng:main' into main 2023-10-30 16:12:09 +08:00
Bryan
a398f35968
fix: fix postgresql support (#606)
* fix postgresql support

fixes #517

* fix: fix pg support

* chore: delete useless code

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-10-22 18:38:29 +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
824444244b feat: able to delete all disabled channels 2023-10-14 17:25:48 +08:00
JustSong
f073592d39 fix: fix request count not updated correctly when using batch update 2023-10-14 15:04:52 +08:00
CaIon
921f1d65ad fix bug 2023-10-11 21:47:59 +08:00
CaIon
a4e269262b feat: 新增充值分组倍率设置 2023-10-11 14:58:09 +08:00
JustSong
8d34b7a77e feat: able to delete all manually disabled channels (close #539) 2023-10-02 13:06:27 +08:00
JustSong
cbd62011b8 chore: add database migration prompt 2023-10-02 12:13:30 +08:00
JustSong
4701897e2e chore: sync database indices with pro version 2023-10-02 12:11:02 +08:00
JustSong
53b2cace0b chore: sync model schema 2023-09-29 18:13:57 +08:00
JustSong
f9b748c2ca chore: add MEMORY_CACHE_ENABLED env variable 2023-09-29 11:38:27 +08:00
CaIon
d429992be2 feat: 优先优先级排序渠道 2023-09-27 01:17:43 +08:00
CaIon
1bb65fa0dd feat: 优先用优先级排序渠道 2023-09-27 01:03:53 +08:00
CaIon
80271b33ba feat: 渠道新可选是否自动禁用功能 2023-09-25 18:44:10 +08:00
CaIon
3d55548c92 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	model/log.go
2023-09-24 12:34:29 +08:00
igophper
8651451e53
fix: sum null to 0 (#541)
Co-authored-by: igophper <admin@jialilgu.cn>
2023-09-19 22:39:54 +08:00
Calcium-Ion
f82fde9d8a
Merge branch 'songquanpeng:main' into main 2023-09-18 23:41:12 +08:00
JustSong
1c5bb97a42 fix: fix gorm expression
Co-authored-by: 初音控灬 <xyfacai@gmail.com>
2023-09-18 23:11:37 +08:00
JustSong
de868e4e4e fix: fix gorm expression
Co-authored-by: 初音控灬 <xyfacai@gmail.com>
2023-09-18 23:07:59 +08:00
Calcium-Ion
26f9d25860
Merge branch 'songquanpeng:main' into main 2023-09-18 22:52:10 +08:00
JustSong
1d258cc898 fix: add default value for base url 2023-09-18 22:49:05 +08:00
JustSong
37e09d764c fix: fix random selection is not working when directly using database 2023-09-18 22:39: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
JustSong
a5647b1ea7 fix: fix priority not updated & random choice not working 2023-09-18 21:43:45 +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
Xyfacai
ecf8a6d875
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
328aa68255 feat: able to delete logs now (close #486) 2023-09-17 17:09:56 +08:00