Commit Graph

35 Commits

Author SHA1 Message Date
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
CaIon
cba411ee9e feat: 渠道新可选是否自动禁用功能 2023-09-25 18:44:10 +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
bbcf52be8f chore: add error prompt for Azure 2023-09-03 21:46:07 +08:00
JustSong
6c808f80ff feat: support 360's models (close #331, close #461)
feat: support 360's models (close #331, close #461)
2023-08-26 13:36:20 +08:00
JustSong
2193d46b17 fix: disable channel when 401 received (close #467) 2023-08-26 12:05:18 +08:00
JustSong
17c4108d2d fix: prompt user that channel test is unavailable 2023-07-29 23:54:09 +08:00
JustSong
70f2fac96c chore: send a notice to user indicating that the current channel type does not support testing 2023-07-23 23:23:56 +08:00
JustSong
a989fef50c perf: reuse http client to reduce delay 2023-07-23 15:18:58 +08:00
JustSong
ea767633ea fix: using whitelist when disabling channels (close #292) 2023-07-22 18:15:30 +08:00
JustSong
6bea2724e4 feat: support automatic channel testing & balance updates (close #11, close #59) 2023-06-22 22:01:03 +08:00
JustSong
b7a89340e1 chore: format logs 2023-06-22 10:59:01 +08:00
JustSong
c32aa170cd feat: support custom base url for channels 2023-06-20 22:32:56 +08:00
JustSong
ddb27704b1 fix: fix the shared field is modified 2023-06-18 00:20:06 +08:00
JustSong
69a497efd5 fix: correct OpenAI error code's type 2023-06-11 09:49:57 +08:00
JustSong
a04afb22ea feat: support set proxy for channel OpenAI (close #139) 2023-06-09 18:30:01 +08:00
JustSong
2ab8dac764 chore: update test logic 2023-06-08 14:09:39 +08:00
quzard
897c9095b7 fix: fetch root user's email if blank (#129) 2023-05-31 15:24:40 +08:00
JustSong
990d1f7c63 chore: make channel test related code separated 2023-05-23 10:01:09 +08:00