mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-05-31 10:35:24 +08:00
### What problem does this PR solve? fix: fixed the issue of error reporting when saving chat configuration #965 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
0171082cc5
commit
c62834f870
@ -145,7 +145,8 @@ const ChatConfigurationModal = ({
|
|||||||
settledModelVariableMap[ModelVariableType.Precise],
|
settledModelVariableMap[ModelVariableType.Precise],
|
||||||
icon: fileList,
|
icon: fileList,
|
||||||
llm_id: initialDialog.llm_id ?? modelId,
|
llm_id: initialDialog.llm_id ?? modelId,
|
||||||
vector_similarity_weight: 1 - initialDialog.vector_similarity_weight,
|
vector_similarity_weight:
|
||||||
|
1 - (initialDialog.vector_similarity_weight ?? 0.3),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, [initialDialog, form, visible, modelId]);
|
}, [initialDialog, form, visible, modelId]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user