feat: support aws claude

This commit is contained in:
CaIon committed 2024-04-23 11:44:40 +08:00
1 parent a8095ef020
commit 3721ed796c
17 files changed
+464 -81

No files matched your search

+3
View File
@@ -18,6 +18,7 @@ const (
APITypeZhipu_v4
APITypeOllama
APITypePerplexity
APITypeAws
APITypeDummy // this one is only for count, do not add any channel after this
)
@@ -49,6 +50,8 @@ func ChannelType2APIType(channelType int) int {
apiType = APITypeOllama
case common.ChannelTypePerplexity:
apiType = APITypePerplexity
case common.ChannelTypeAws:
apiType = APITypeAws
}
return apiType
}