fix: Switch default Adaptor from Anthropic to OpenAI

- Switch the default Adaptor from Anthropic to OpenAI
This commit is contained in:
Laisky.Cai 2024-03-05 01:15:52 +00:00
parent b1a7e197b7
commit 003ec2eabc

View File

@ -17,7 +17,8 @@ func GetAdaptor(apiType int) channel.Adaptor {
// case constant.APITypeAli:
// return &ali.Adaptor{}
case constant.APITypeAnthropic:
return &anthropic.Adaptor{}
// return &anthropic.Adaptor{}
return &openai.Adaptor{}
// case constant.APITypeBaidu:
// return &baidu.Adaptor{}
case constant.APITypeGemini: