Commit Graph

41 Commits

Author SHA1 Message Date
CaIon
ffbde7d751 支持设置模型按次计费 2023-12-21 20:14:04 +08:00
CaIon
2b48477d2e 修改docker-compose.yml 2023-12-18 23:46:04 +08:00
CaIon
a12421ebe2 添加批量删除渠道功能 2023-12-14 16:35:03 +08:00
CaIon
f9495e91ea 更新渠道管理 2023-12-05 18:15:40 +08:00
Calcium-Ion
f439c4d553 Merge branch 'songquanpeng:main' into main 2023-10-30 16:12:09 +08:00
Bryan
58b6c88f7b 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
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
63bd941d99 feat: able to delete all disabled channels 2023-10-14 17:25:48 +08:00
JustSong
cfd3093b95 feat: able to delete all manually disabled channels (close #539) 2023-10-02 13:06:27 +08:00
JustSong
e159737938 chore: sync model schema 2023-09-29 18:13:57 +08:00
CaIon
7b4f42f4fb feat: 优先优先级排序渠道 2023-09-27 01:17:43 +08:00
CaIon
7c8f8da385 feat: 优先用优先级排序渠道 2023-09-27 01:03:53 +08:00
CaIon
cba411ee9e feat: 渠道新可选是否自动禁用功能 2023-09-25 18:44:10 +08:00
Calcium-Ion
7188dedd27 Merge branch 'songquanpeng:main' into main 2023-09-18 22:52:10 +08:00
JustSong
0de79e31d7 fix: add default value for base url 2023-09-18 22:49:05 +08:00
JustSong
1661d34f7b fix: fix unable to set zero value for base url & model mapping 2023-09-18 22:07:17 +08:00
JustSong
ebdab831e6 fix: fix priority not updated & random choice not working 2023-09-18 21:43:45 +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
CaIon
2a961f1cbc feat: 渠道支持指定组织 2023-09-15 17:59:01 +08:00
JustSong
cf0ae05d50 feat: add batch update support (close #414) 2023-09-03 14:58:20 +08:00
JustSong
393443dd16 Revert "fix: add lock when update quota (close #399)"
This reverts commit 7216aabedc.
2023-08-13 00:51:48 +08:00
JustSong
7216aabedc fix: add lock when update quota (close #399) 2023-08-12 18:25:18 +08:00
JustSong
32b74c3ffc fix: fix channel search is not working with MySQL 2023-06-29 21:46:13 +08:00
JustSong
1ab01b7eb5 feat: support model remap now 2023-06-27 13:42:45 +08:00
JustSong
d36a887ffc feat: support search channels by key (close #185) 2023-06-22 21:19:43 +08:00
JustSong
8979961a83 feat: record channel's used quota (close #137) 2023-06-16 16:02:00 +08:00
JustSong
d5634ee7e7 feat: able to manage group now 2023-06-08 09:26:54 +08:00
JustSong
cbf339284c 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
JustSong
128c84b338 feat: support channel remain quota query (close #79) 2023-05-21 16:09:54 +08:00
JustSong
f43a810e8d feat: automatically disable channel when error occurred (#59) 2023-05-15 17:34:09 +08:00
JustSong
93b00d62a6 feat: able to test all enabled channels (#59) 2023-05-15 12:36:55 +08:00
JustSong
210952bd1e feat: save response time & test time (#59) 2023-05-15 11:35:38 +08:00
JustSong
bc87b023f5 feat: support batch creation of channels (close #58) 2023-05-13 17:08:13 +08:00
JustSong
9ed9eaa65f feat: support specific default api version now (#57) 2023-05-13 12:53:57 +08:00
JustSong
32755d875a Support custom channel now 2023-04-23 20:35:49 +08:00
JustSong
12aa6c352b Relay done but not working 2023-04-23 18:24:11 +08:00
JustSong
28e8e89e28 Able to manage channels now 2023-04-23 15:42:23 +08:00
JustSong
466cdbf1af Token API done without verification 2023-04-23 11:31:00 +08:00
JustSong
bc88176dc5 Channel API done without verification 2023-04-22 22:02:59 +08:00
JustSong
074df0f131 Remove useless page 2023-04-22 21:41:16 +08:00