Explorar el Código

fix: channel test model mapped

1808837298@qq.com hace 1 año
padre
commit
760514c3e1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      controller/channel-test.go

+ 1 - 0
controller/channel-test.go

@@ -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)