Explorar o código

fix: default rerank model check (#6917)

zxhlyh hai 8 meses
pai
achega
6feea0d75b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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,