feat: add Replicate adaptor and integrate into channel and API types

This commit is contained in:
Laisky.Cai
2024-11-28 09:04:02 +00:00
parent 3cb1b4fd35
commit ae7117beee
18 changed files with 540 additions and 8 deletions

View File

@@ -37,6 +37,8 @@ func ToAPIType(channelType int) int {
apiType = apitype.DeepL
case VertextAI:
apiType = apitype.VertexAI
case Replicate:
apiType = apitype.Replicate
case Proxy:
apiType = apitype.Proxy
}