mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-15 23:54:30 +00:00
feat: support baidu's models now (close #286)
This commit is contained in:
@@ -152,6 +152,7 @@ const (
|
||||
ChannelTypeAPI2GPT = 12
|
||||
ChannelTypeAIGC2D = 13
|
||||
ChannelTypeAnthropic = 14
|
||||
ChannelTypeBaidu = 15
|
||||
)
|
||||
|
||||
var ChannelBaseURLs = []string{
|
||||
@@ -170,4 +171,5 @@ var ChannelBaseURLs = []string{
|
||||
"https://api.api2gpt.com", // 12
|
||||
"https://api.aigc2d.com", // 13
|
||||
"https://api.anthropic.com", // 14
|
||||
"https://aip.baidubce.com", // 15
|
||||
}
|
||||
|
Reference in New Issue
Block a user