Commit Graph

36 Commits

Author SHA1 Message Date
CaIon
adb2c39564 feat: add panic recovery and retry mechanism for InitChannelCache; improve batch deletion of abilities in FixAbility 2025-05-23 01:26:52 +08:00
Calcium-Ion
3dff0d498f 2025-01-05 22:01:36 +08:00
Calcium-Ion
e275229597 Fix channel model length issue
Fixes #691

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Calcium-Ion/new-api/issues/691?shareId=XXXX-XXXX-XXXX-XXXX).
2025-01-05 21:55:25 +08:00
CalciumIon
0a845ae69f fix: try to fix pgsql #682 2024-12-31 02:10:19 +08:00
CalciumIon
fe29ca04d5 feat: Implement batch tagging functionality for channels
- Added a new endpoint to batch set tags for multiple channels, allowing users to update tags efficiently.
- Introduced a new `BatchSetChannelTag` function in the controller to handle incoming requests and validate parameters.
- Updated the `BatchSetChannelTag` method in the model to manage database transactions and ensure data integrity during tag updates.
- Enhanced the ChannelsTable component in the frontend to support batch tag setting, including UI elements for user interaction.
- Updated localization files to include new translation keys related to batch operations and tag settings.
2024-12-25 14:19:00 +08:00
CalciumIon
325de98738 feat: 渠道标签分组 2024-11-19 01:13:18 +08:00
1808837298@qq.com
a3dbf21280 feat: pricing page support multi groups #487 2024-09-22 17:44:57 +08:00
CalciumIon
0a86ce013a fix: sqlite too many SQL variables 2024-06-26 19:51:23 +08:00
CaIon
97acc9e5c4 feat: add pricing page 2024-05-13 23:02:35 +08:00
Xyfacai
07724ce38c fix: 修复渠道一次性添加很多model失败
修复渠道一次性添加很多model并且group多
提示失败 too many SQL variables
2024-04-08 23:51:51 +08:00
CaIon
37ec213d08 feat: 支持未开启缓存下本地重试 2024-04-06 20:45:18 +08:00
CaIon
0bc9072dcf fix: GetRandomSatisfiedChannel 2024-04-04 19:37:33 +08:00
CaIon
fb992eeeac feat: 本地重试 2024-04-04 16:35:44 +08:00
CaIon
bc2b1112db fix: reroll action error 2024-03-14 00:43:32 +08:00
CaIon
9c8732cb77 fix: 修复渠道一致性问题 2024-01-12 14:57:03 +08:00
CaIon
0266cf4b7e fix: 修复渠道一致性问题 2024-01-12 14:36:15 +08:00
CaIon
3c91d7539c feat: able to fix channels 2024-01-10 13:23:43 +08:00
CaIon
85a1540a2e fix: 减少group和model字段长度为64 2024-01-08 10:08:20 +08:00
CaIon
433f7affe9 feat: 加入渠道加权随机功能 2023-12-27 19:00:47 +08:00
CaIon
ffbde7d751 支持设置模型按次计费 2023-12-21 20:14:04 +08:00
CaIon
dbdfebcc41 fix pgsql 2023-12-08 13:15:59 +08:00
AIASS Group
745ba3cea7 fix the issue of model repetition 2023-11-23 15:36:07 +08:00
CaIon
0f8e24897e 修复可用模型显示已禁用模型 2023-11-22 23:02:43 +08:00
CaIon
f88b65c11f 修复可用model重复显示bug 2023-11-21 16:58:31 +08:00
CaIon
3eb7843b2e 完善个人中心 2023-11-21 16:35:51 +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
JustSong
1016ef75b4 fix: fix gorm expression
Co-authored-by: 初音控灬 <xyfacai@gmail.com>
2023-09-18 23:11:37 +08:00
JustSong
489eeff433 fix: fix gorm expression
Co-authored-by: 初音控灬 <xyfacai@gmail.com>
2023-09-18 23:07:59 +08:00
JustSong
3935c70cd9 fix: fix random selection is not working when directly using database 2023-09-18 22:39:10 +08:00
JustSong
ebdab831e6 fix: fix priority not updated & random choice not working 2023-09-18 21:43:45 +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
f158d754ef fix: fix the wrong message when channel is deleted 2023-06-29 11:27:34 +08:00
JustSong
d27698eedf feat: now one channel can belong to multiple groups (close #153) 2023-06-14 12:14:08 +08:00
JustSong
ac11307faf refactor: enable model configuration on default group (close #143) 2023-06-09 18:05:51 +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