fix: channel test model mapped

This commit is contained in:
1808837298@qq.com
2025-03-02 23:53:10 +08:00
parent 254c25c27a
commit 760514c3e1

View File

@@ -92,6 +92,7 @@ func testChannel(channel *model.Channel, testModel string) (err error, openAIErr
if err != nil {
return err, nil
}
testModel = info.UpstreamModelName
apiType, _ := constant.ChannelType2APIType(channel.Type)
adaptor := relay.GetAdaptor(apiType)