瀏覽代碼

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)