添加azure speech支持

This commit is contained in:
MartialBE
2023-12-02 22:13:47 +08:00
parent c97c8a0f65
commit a884c4b0bf
5 changed files with 130 additions and 1 deletions

View File

@@ -186,6 +186,7 @@ const (
ChannelTypeAIProxyLibrary = 21
ChannelTypeFastGPT = 22
ChannelTypeTencent = 23
ChannelTypeAzureSpeech = 24
)
var ChannelBaseURLs = []string{
@@ -212,7 +213,8 @@ var ChannelBaseURLs = []string{
"https://openrouter.ai/api", // 20
"https://api.aiproxy.io", // 21
"https://fastgpt.run/api/openapi", // 22
"https://hunyuan.cloud.tencent.com", //23
"https://hunyuan.cloud.tencent.com", // 23
"", // 24
}
const (