feat: 初步兼容流模式下openai渠道类型转为claude格式访问 #862
This commit is contained in:
1 parent
5f1bffebae
commit
47c297794d
37 files changed
+390
-165
No files matched your search
@@ -107,7 +107,7 @@ func testChannel(channel *model.Channel, testModel string) (err error, openAIErr
|
||||
|
||||
adaptor.Init(info)
|
||||
|
||||
convertedRequest, err := adaptor.ConvertRequest(c, info, request)
|
||||
convertedRequest, err := adaptor.ConvertOpenAIRequest(c, info, request)
|
||||
if err != nil {
|
||||
return err, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user