feat: support aws claude
This commit is contained in:
1 parent
a8095ef020
commit
3721ed796c
17 files changed
+464
-81
No files matched your search
@@ -3,6 +3,7 @@ package relay
|
||||
import (
|
||||
"one-api/relay/channel"
|
||||
"one-api/relay/channel/ali"
|
||||
"one-api/relay/channel/aws"
|
||||
"one-api/relay/channel/baidu"
|
||||
"one-api/relay/channel/claude"
|
||||
"one-api/relay/channel/gemini"
|
||||
@@ -45,6 +46,8 @@ func GetAdaptor(apiType int) channel.Adaptor {
|
||||
return &ollama.Adaptor{}
|
||||
case constant.APITypePerplexity:
|
||||
return &perplexity.Adaptor{}
|
||||
case constant.APITypeAws:
|
||||
return &aws.Adaptor{}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user