mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-15 15:30:26 +00:00
feat: support Mistral's models now (close #1051)
This commit is contained in:
@@ -66,6 +66,7 @@ const (
|
||||
ChannelTypeMoonshot = 25
|
||||
ChannelTypeBaichuan = 26
|
||||
ChannelTypeMinimax = 27
|
||||
ChannelTypeMistral = 28
|
||||
)
|
||||
|
||||
var ChannelBaseURLs = []string{
|
||||
@@ -97,6 +98,7 @@ var ChannelBaseURLs = []string{
|
||||
"https://api.moonshot.cn", // 25
|
||||
"https://api.baichuan-ai.com", // 26
|
||||
"https://api.minimax.chat", // 27
|
||||
"https://api.mistral.ai", // 28
|
||||
}
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user