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
1808837298@qq.com
436afe925e
feat: 初步重构完成
2024-02-29 16:21:25 +08:00
1808837298@qq.com
1735981217
feat: 初步重构
2024-02-29 01:08:18 +08:00
1808837298@qq.com
0d0191f4e0
fix: 修复测试渠道指定模型时实际使用gpt-3.5-turbo的问题 ( close #67 )
2024-02-23 17:40:49 +08:00
CaIon
073a016d2c
fix: fix test channel
2024-02-01 19:27:00 +08:00
CaIon
65972ad47e
feat: 添加成功时自动启用通道功能, close #27
2024-02-01 18:52:39 +08:00
CaIon
8aab40ad8b
feat: 支持测试渠道时自选模型
2024-02-01 18:31:42 +08:00
CaIon
101f9f6adc
fix: support AI Gateway, close #52
2024-02-01 18:11:00 +08:00
CaIon
51c8c66630
fix: support AI Gateway, close #52
2024-02-01 17:48:55 +08:00
CaIon
796760222c
添加gemini支持
2023-12-18 23:46:05 +08:00
CaIon
f9495e91ea
更新渠道管理
2023-12-05 18:15:40 +08:00
CaIon
7115390fc8
support gpt-4-1106-vision-preview
2023-11-17 20:32:37 +08:00
CaIon
346d14faad
修复超时自动禁用bug
2023-11-17 16:22:13 +08:00
Calcium-Ion
f439c4d553
Merge branch 'songquanpeng:main' into main
2023-10-30 16:12:09 +08:00
vc
46f12bc4fa
feat: add cloudflare ai gateway support for image & audio ( #607 )
...
* Update channel-test.go
* Update relay-audio.go
* Update relay-image.go
* chore: using a util function
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
2023-10-22 17:50:52 +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
cfd3093b95
feat: able to delete all manually disabled channels ( close #539 )
2023-10-02 13:06:27 +08:00