Browse Source

fix: default rerank model check (#6917)

zxhlyh 8 tháng trước cách đây
mục cha
commit
6feea0d75b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      web/app/components/datasets/common/check-rerank-model.ts

+ 1 - 0
web/app/components/datasets/common/check-rerank-model.ts

@@ -55,6 +55,7 @@ export const ensureRerankModelSelected = ({
     indexMethod === 'high_quality'
     && (retrievalConfig.reranking_enable || retrievalConfig.search_method === RETRIEVE_METHOD.hybrid)
     && !rerankModel
+    && rerankDefaultModel
   ) {
     return {
       ...retrievalConfig,