mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 10:28:59 +08:00
fix: default rerank model check (#6917)
This commit is contained in:
parent
f97a51ce24
commit
6feea0d75b
@ -55,6 +55,7 @@ export const ensureRerankModelSelected = ({
|
||||
indexMethod === 'high_quality'
|
||||
&& (retrievalConfig.reranking_enable || retrievalConfig.search_method === RETRIEVE_METHOD.hybrid)
|
||||
&& !rerankModel
|
||||
&& rerankDefaultModel
|
||||
) {
|
||||
return {
|
||||
...retrievalConfig,
|
||||
|
Loading…
x
Reference in New Issue
Block a user