Commit Graph

134 Commits

Author SHA1 Message Date
1808837298@qq.com
574e28bad8 fix: Use channel group in model testing log record 2025-03-02 15:59:39 +08:00
1808837298@qq.com
1665fcee3c refactor: Improve channel testing and model price handling 2025-03-02 15:47:12 +08:00
1808837298@qq.com
485face2c0 feat: Add self-use mode for model ratio and price configuration
- Introduce `SelfUseModeEnabled` setting to allow flexible model ratio configuration
- Update error handling to provide more informative messages when model ratios are not set
- Modify pricing and relay logic to support self-use mode
- Add UI toggle for enabling self-use mode in operation settings
- Implement fallback mechanism for model ratios when self-use mode is enabled
2025-03-01 21:13:48 +08:00
1808837298@qq.com
3f7d9c4b0f fix: Improve error handling for model ratio and price validation #800 2025-03-01 15:27:32 +08:00
1808837298@qq.com
3447df85c4 feat: add new GPT-4.5 preview model ratios 2025-02-28 19:17:15 +08:00
1808837298@qq.com
bf9f5e59b5 chore: Update Azure OpenAI API version and embedding model detection
- Enhance channel test to detect more embedding models
- Update Azure OpenAI default API version to 2024-12-01-preview
- Remove redundant default API version setting in channel edit
- Add user cache writing in channel test
2025-02-27 16:49:32 +08:00
1808837298@qq.com
83e161a1d4 refactor: Simplify root user notification and remove global email variable
- Remove global `RootUserEmail` variable
- Modify channel testing and user notification methods to use `GetRootUser()`
- Update user cache and notification service to use more consistent user base type
- Add new channel test notification type
2025-02-18 15:59:17 +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
Calcium-Ion
b21ba28167 Merge pull request #723 from kuwork/main
Support for MokaAI M3E
2025-02-11 22:16:18 +07:00
1808837298@qq.com
86d93c4694 fix: adjust max tokens configuration in test request builder
- Update max tokens default value to 10
2025-02-11 20:00:05 +08:00
zjjxwhh
5bebd3760a fix: always use modelMapping in channel test 2025-02-10 22:39:56 +08:00
kuwork
fdebb6e6e8 Merge branch 'main' into main 2025-02-04 22:52:37 +08:00
1808837298@qq.com
c81e23b0e4 f*** o3-mini 2025-02-01 14:11:34 +08:00
Jerry
8e2059b898 Support for MokaAI M3E 2025-01-22 04:21:08 +08:00
Calcium-Ion
b664a2208b Merge pull request #683 from iszcz/new512
Update channel-test.go
2024-12-31 20:22:57 +08:00
iszcz
60a3d1b066 Update channel-test.go 2024-12-31 12:49:13 +08:00
CalciumIon
a48679fb4a fix: update MaxCompletionTokens for model prefix handling in buildTestRequest function 2024-12-25 17:55:20 +08:00
CalciumIon
7e8adb5b34 feat: Enhance logging functionality with group support
- Added a new 'group' parameter to various logging functions, including RecordConsumeLog, GetAllLogs, and GetUserLogs, to allow for more granular log tracking.
- Updated the logs table component to display group information, improving the visibility of log data.
- Refactored related functions to accommodate the new group parameter, ensuring consistent handling across the application.
- Improved the initialization of the group column for PostgreSQL compatibility.
2024-12-24 14:48:11 +08:00
CalciumIon
3a97be9f12 feat: support gemini-2.0-flash-thinking #639 #637 2024-12-20 13:20:07 +08:00
1808837298@qq.com
92902139e4 fix: channel test
(cherry picked from commit 052bdab1c45b3a4ba5f079afc763f54e751b1cd7)
2024-11-05 19:28:58 +08:00
1808837298@qq.com
9e4133a890 feat: realtime
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
CalciumIon
70eaca518d feat: support o1 channel test 2024-09-13 03:17:04 +08:00
CalciumIon
a1284e4a58 chore: 优化自动禁用代码 2024-08-03 17:32:28 +08:00
CalciumIon
d06018cd3f chore: gopool 2024-07-19 01:07:37 +08:00
CalciumIon
1d4ebe3921 feat: support cloudflare audio 2024-07-16 23:24:47 +08:00
CalciumIon
ee0e1c9736 refactor: audio relay 2024-07-16 22:07:10 +08:00
CalciumIon
7b20b4ed3d fix: azure stream options 2024-07-15 16:05:30 +08:00
FENG
8baaa7e92e fix: http code is not properly disabled 2024-07-14 01:21:05 +08:00
FENG
3ef51e9210 fix: channel timeout auto-ban and auto-enable 2024-07-14 00:14:07 +08:00
CalciumIon
fe4665fd99 feat: support cloudflare worker ai 2024-07-13 19:55:22 +08:00
CalciumIon
efd18779c2 fix: hunyuan 2024-07-08 23:42:16 +08:00
CalciumIon
cbb79a5bc1 fix: channel default test model 2024-07-08 17:06:29 +08:00
CalciumIon
99c285c50f feat: support dify (close #299) 2024-07-06 01:32:40 +08:00
CalciumIon
2fd011e49e feat: 记录渠道测试的消费日志 (close #334) 2024-07-05 20:51:25 +08:00
CalciumIon
35b2a49eb8 fix: channel auto ban 2024-07-04 22:46:43 +08:00
HynoR
38e2b3dabb fix testAllChannels nil pointer panic 2024-06-27 11:41:52 +08:00
Calcium-Ion
7378c3827b Merge pull request #310 from Calcium-Ion/feat/suno-api
Feat/suno api
2024-06-21 14:59:59 +08:00
1808837298@qq.com
400be9a2af fix: auto ban 2024-06-18 11:03:24 +08:00
Xiangyuan Liu
05a4646b44 feat: suno api 支持
feat: 调试 suno

feat: 补充suno 文档
2024-06-13 10:35:48 +08:00
Boo p3psi
cc713e65ea 修复渠道测试没有走模型映射 2024-05-16 08:24:42 +08:00
CaIon
5cf33f35ae fix: 修复自定义渠道出错 #243 2024-05-13 14:32:32 +08:00
CaIon
a03cfe9ed5 feat: 只自动启用被自动禁用的渠道 (close #224) 2024-05-12 19:29:25 +08:00
CaIon
3721ed796c feat: support aws claude 2024-04-23 11:44:40 +08:00
CaIon
b0dcea7ee6 feat: able to set default test model (#138) 2024-04-04 17:29:25 +08:00
CaIon
54c18dc89e fix: remove sensitive check on completion (close #157) 2024-03-29 22:20:14 +08:00
CaIon
ca600790b4 fix: ollama channel test 2024-03-26 19:27:11 +08:00
CaIon
580f2894ac feat: 初步兼容生成内容检查 2024-03-20 19:00:51 +08:00
CaIon
d007f84c5e fix: fix claude channel test 2024-03-08 21:38:43 +08:00
CaIon
218cdb2590 fix: fix Azure channel test (close #101) 2024-03-08 20:06:40 +08:00
1808837298@qq.com
d703cccc8a fix: 修复流模式错误扣费的问题 (close #95) 2024-03-06 17:41:55 +08:00