feat: support aws bedrockruntime claude3

closes #622, closes #749, closes #1300
This commit is contained in:
Laisky.Cai
2024-04-18 02:50:12 +00:00
parent b638a2fcbd
commit 4e1bfe4879
19 changed files with 458 additions and 21 deletions

View File

@@ -34,6 +34,7 @@ const (
Ollama
LingYiWanWu
StepFun
AwsClaude
Dummy
)

View File

@@ -25,6 +25,9 @@ func ToAPIType(channelType int) int {
apiType = apitype.Gemini
case Ollama:
apiType = apitype.Ollama
case AwsClaude:
apiType = apitype.AwsClaude
}
return apiType
}

View File

@@ -34,6 +34,7 @@ var ChannelBaseURLs = []string{
"http://localhost:11434", // 30
"https://api.lingyiwanwu.com", // 31
"https://api.stepfun.com", // 32
"", // 33
}
func init() {