fix: default rerank model check (#6917)

pull/6918/head
zxhlyh 2 years ago committed by GitHub
parent f97a51ce24
commit 6feea0d75b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save