feat: add xai channel

feat: add xai channel

feat: add xai channel
This commit is contained in:
HynoR
2025-04-10 12:26:48 +08:00
parent c4c1099ae5
commit f500eb17a8
7 changed files with 118 additions and 0 deletions

View File

@@ -235,6 +235,7 @@ const (
ChannelTypeVolcEngine = 45
ChannelTypeBaiduV2 = 46
ChannelTypeXinference = 47
ChannelTypeXai = 48
ChannelTypeDummy // this one is only for count, do not add any channel after this
)
@@ -288,4 +289,5 @@ var ChannelBaseURLs = []string{
"https://ark.cn-beijing.volces.com", //45
"https://qianfan.baidubce.com", //46
"", //47
"https://api.x.ai", //48
}