Commit Graph

50 Commits

Author SHA1 Message Date
1808837298@qq.com
0aa30ed3f6 feat: Add new model management features
- Implement `/api/channel/models_enabled` endpoint to retrieve enabled models
- Add `EnabledListModels` handler in controller
- Create new `ModelRatioNotSetEditor` component for managing unset model ratios
- Update router to include new models_enabled route
- Add internationalization support for new model management UI
- Include GPT-4.5 preview model in OpenAI model list
2025-02-28 21:13:30 +08:00
1808837298@qq.com
025b6d1226 feat: Add automatic channel disabling based on configurable keywords
- Introduce AutomaticDisableKeywords setting to dynamically control channel disabling
- Implement AC search for matching error messages against disable keywords
- Add frontend UI for configuring automatic disable keywords
- Update localization with new keyword-based channel disabling feature
- Refactor sensitive word and AC search logic to support multiple keyword lists
2025-02-13 16:39:17 +08:00
1808837298@qq.com
881be9a3ec feat: add demo site configuration flag
- Introduce `DemoSiteEnabled` variable in operation settings
- Provide a configurable flag to enable/disable demo site functionality
2025-02-04 14:15:01 +08:00
CalciumIon
3fd054cfa8 feat: Enhance Operation Settings with Group and Model Ratio Management
- Added new components for GroupRatioSettings and ModelRatioSettings to manage group and model ratios.
- Integrated tabs in OperationSetting to switch between model and visual ratio settings.
- Updated translations for new settings and improved existing ones in the English locale file.
- Refactored ModelSettingsVisualEditor to support dynamic pricing and ratio configurations.

This update improves the user interface for managing operational settings, enhancing usability and localization support.
2024-12-14 22:13:31 +08:00
HynoR
12efd1fb50 feat: 添加模型设置可视化编辑器组件 2024-12-13 14:10:38 +08:00
licoy
bc0b1b8634 优化设置页面的模块间距与部分数据获取提示 2024-11-12 16:17:55 +08:00
1808837298@qq.com
53ff1547cf feat: 弃用旧的聊天配置 2024-10-12 21:09:59 +08:00
CalciumIon
4a02eb1b7f feat: 令牌分组 2024-09-18 05:19:49 +08:00
CalciumIon
a7351b72b1 feat: 允许设置是否检测mj任务已完成才可进行action操作 (close #349) 2024-07-08 16:48:10 +08:00
QuentinHsu
f0ac6e0185 refactor: 运营设置-数据刷新 2024-05-13 18:14:57 +08:00
QuentinHsu
e2bc19ec82 refactor: 运营设置-倍率设置 2024-05-13 17:55:15 +08:00
QuentinHsu
1042408fe8 Merge branch 'main' into refactor-settings-operation 2024-05-13 16:29:02 +08:00
CaIon
699e29e229 feat: 支持自定义特殊模型补全倍率 2024-05-12 20:15:56 +08:00
QuentinHsu
2b03ce5334 refactor: 运营设置-额度设置 2024-05-11 17:48:05 +08:00
QuentinHsu
41162cc40c refactor: 运营设置-监控设置 2024-05-11 17:20:18 +08:00
QuentinHsu
c395fc2807 refactor: 运营设置-数据看板设置 2024-05-11 16:23:10 +08:00
QuentinHsu
c04a4808ce refactor: 运营设置-日志设置 2024-05-11 14:06:32 +08:00
QuentinHsu
92cdf9c733 refactor: 运营设置-屏蔽词过滤设置 2024-05-10 16:17:48 +08:00
QuentinHsu
fb6521e87e refactor: 运营设置-绘图设置 2024-05-09 17:20:51 +08:00
QuentinHsu
8de14b00b8 refactor: 运营设置-通用设置 2024-05-09 17:01:55 +08:00
1808837298@qq.com
17ebd73f3f feat: able to set AccountFilter 2024-05-01 01:37:47 +08:00
CaIon
d8b4805bc6 feat: 可设置是否转发上游mj图片地址 2024-04-18 18:02:09 +08:00
kahosan
ddf72332d4 fix: the dark mode does not work for the OperationSetting and SystemSetting panels 2024-04-16 17:12:54 +08:00
iszcz
613ffadb6a 清除--mode 2024-04-06 23:08:50 +08:00
CaIon
54c18dc89e fix: remove sensitive check on completion (close #157) 2024-03-29 22:20:14 +08:00
CaIon
eb955ae4b1 chore: lint fix 2024-03-23 21:24:39 +08:00
CaIon
be2c13fbd6 feat: 保留功能 2024-03-20 20:15:32 +08:00
CaIon
14892a6582 feat: 初步兼容敏感词过滤 2024-03-20 17:07:42 +08:00
CaIon
256de6c489 feat: 添加回调未开启提示 2024-03-15 22:15:16 +08:00
CaIon
add3b05da4 chore: reformat code 2024-03-15 16:05:33 +08:00
CaIon
cee6f9c3f5 feat: 允许开关mj回调 2024-03-14 21:21:37 +08:00
1808837298@qq.com
556b16b9b8 feat: 可设置默认折叠侧边栏 2024-03-02 02:12:02 +08:00
CaIon
65972ad47e feat: 添加成功时自动启用通道功能, close #27 2024-02-01 18:52:39 +08:00
CaIon
69bdc2a359 feat: 令牌聊天新增ChatGPT Web & Midjourney支持 2024-01-21 17:43:40 +08:00
GuoRuqiang
dbe8223e3b 增加了一个超链聊天跳转
在“运营设置里面”增加了“聊天页面2链接”,方便将项目(https://github.com/Dooy/chatgpt-web-midjourney-proxy) 替换掉原来的AMA问天。

Changes to be committed:
    modified:   common/constants.go
    modified:   controller/misc.go
    modified:   model/option.go
    modified:   web/src/App.js
    modified:   web/src/components/OperationSetting.js
    modified:   web/src/components/TokensTable.js
2024-01-16 18:15:55 +00:00
CaIon
fe148d175e perf: 数据看板支持选择时间粒度 2024-01-13 00:33:52 +08:00
CaIon
ae77b5313f feat: 允许关闭绘图选项 2024-01-07 18:31:04 +08:00
CaIon
ffbde7d751 支持设置模型按次计费 2023-12-21 20:14:04 +08:00
CaIon
2390c2cb71 完全移除近似估算token功能 2023-11-11 01:55:19 +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
JustSong
39328d65c2 feat: able to delete logs now (close #486) 2023-09-17 17:09:56 +08:00
CaIon
57edbac346 feat: 删除无用功能 2023-09-10 01:13:12 +08:00
CaIon
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong
8a0f707d64 feat: retry on failed (close #112) 2023-07-15 19:06:51 +08:00
JustSong
16b6ace078 feat: able to approximate token (close #207) 2023-07-04 19:54:13 +08:00
JustSong
580de07735 fix: fix AutomaticDisableChannelEnabled option not ignored (close #217) 2023-06-29 15:54:12 +08:00
JustSong
24bdbe117a feat: able to display token billing stat via billing api (close #186) 2023-06-23 20:14:53 +08:00
JustSong
cded36439e chore: update prompt 2023-06-21 00:20:48 +08:00
JustSong
a6cc0226a7 feat: able to display quota in dollar 2023-06-20 20:09:17 +08:00
JustSong
946aa77347 refactor: make operation settings separated from system settings 2023-06-19 09:53:56 +08:00