feat: support vertex ai #377

This commit is contained in:
CalciumIon committed 2024-08-27 20:19:51 +08:00
1 parent 045e2cfdbf
commit b8664e71e6
18 files changed
+609 -47

No files matched your search

+2
View File
@@ -214,6 +214,7 @@ const (
ChannelTypeJina = 38
ChannelCloudflare = 39
ChannelTypeSiliconFlow = 40
ChannelTypeVertexAi = 41
ChannelTypeDummy // this one is only for count, do not add any channel after this
@@ -261,4 +262,5 @@ var ChannelBaseURLs = []string{
"https://api.jina.ai", //38
"https://api.cloudflare.com", //39
"https://api.siliconflow.cn", //40
"", //41
}