소스 검색

fix: channel test model mapped

1808837298@qq.com 1 년 전
부모
커밋
760514c3e1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)