support ai proxy for cohere (#960) (#1328)

This commit is contained in:
jk-tonycui
2024-09-20 21:15:14 +08:00
committed by GitHub
parent 55f6ed7953
commit ffc5458a91
3 changed files with 120 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ const (
providerTypeGemini = "gemini"
providerTypeDeepl = "deepl"
providerTypeMistral = "mistral"
providerTypeCohere = "cohere"
protocolOpenAI = "openai"
protocolOriginal = "original"
@@ -94,6 +95,7 @@ var (
providerTypeGemini: &geminiProviderInitializer{},
providerTypeDeepl: &deeplProviderInitializer{},
providerTypeMistral: &mistralProviderInitializer{},
providerTypeCohere: &cohereProviderInitializer{},
}
)