mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 23:16:04 +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'
|
indexMethod === 'high_quality'
|
||||||
&& (retrievalConfig.reranking_enable || retrievalConfig.search_method === RETRIEVE_METHOD.hybrid)
|
&& (retrievalConfig.reranking_enable || retrievalConfig.search_method === RETRIEVE_METHOD.hybrid)
|
||||||
&& !rerankModel
|
&& !rerankModel
|
||||||
|
&& rerankDefaultModel
|
||||||
) {
|
) {
|
||||||
return {
|
return {
|
||||||
...retrievalConfig,
|
...retrievalConfig,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user