2024-04-05 18:03:59 +00:00
|
|
|
package channeltype
|
|
|
|
|
|
|
|
var ChannelBaseURLs = []string{
|
|
|
|
"", // 0
|
|
|
|
"https://api.openai.com", // 1
|
|
|
|
"https://oa.api2d.net", // 2
|
|
|
|
"", // 3
|
|
|
|
"https://api.closeai-proxy.xyz", // 4
|
|
|
|
"https://api.openai-sb.com", // 5
|
|
|
|
"https://api.openaimax.com", // 6
|
|
|
|
"https://api.ohmygpt.com", // 7
|
|
|
|
"", // 8
|
|
|
|
"https://api.caipacity.com", // 9
|
|
|
|
"https://api.aiproxy.io", // 10
|
|
|
|
"https://generativelanguage.googleapis.com", // 11
|
|
|
|
"https://api.api2gpt.com", // 12
|
|
|
|
"https://api.aigc2d.com", // 13
|
|
|
|
"https://api.anthropic.com", // 14
|
|
|
|
"https://aip.baidubce.com", // 15
|
|
|
|
"https://open.bigmodel.cn", // 16
|
|
|
|
"https://dashscope.aliyuncs.com", // 17
|
|
|
|
"", // 18
|
|
|
|
"https://ai.360.cn", // 19
|
|
|
|
"https://openrouter.ai/api", // 20
|
|
|
|
"https://api.aiproxy.io", // 21
|
|
|
|
"https://fastgpt.run/api/openapi", // 22
|
|
|
|
"https://hunyuan.cloud.tencent.com", // 23
|
|
|
|
"https://generativelanguage.googleapis.com", // 24
|
|
|
|
"https://api.moonshot.cn", // 25
|
|
|
|
"https://api.baichuan-ai.com", // 26
|
|
|
|
"https://api.minimax.chat", // 27
|
|
|
|
"https://api.mistral.ai", // 28
|
|
|
|
"https://api.groq.com/openai", // 29
|
|
|
|
"http://localhost:11434", // 30
|
|
|
|
"https://api.lingyiwanwu.com", // 31
|
|
|
|
"https://api.stepfun.com", // 32
|
2024-04-19 16:40:47 +00:00
|
|
|
"", // 33
|
2024-04-21 09:59:57 +00:00
|
|
|
"https://api.coze.com", // 34
|
2024-04-25 16:48:53 +00:00
|
|
|
"https://api.cohere.ai", // 35
|
|
|
|
"https://api.deepseek.com", // 36
|
2024-04-26 15:05:48 +00:00
|
|
|
"https://api.cloudflare.com", // 37
|
2024-04-27 05:37:22 +00:00
|
|
|
"https://api-free.deepl.com", // 38
|
2024-04-05 18:03:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
if len(ChannelBaseURLs) != Dummy {
|
|
|
|
panic("channel base urls length not match")
|
|
|
|
}
|
|
|
|
}
|