mirror of
https://github.com/langgenius/dify.git
synced 2025-12-25 01:00:42 -05:00
fix: score_threshold_enabled variable (#1627)
This commit is contained in:
@@ -114,12 +114,12 @@ const RetrievalParamConfig: FC<Props> = ({
|
||||
score_threshold: v,
|
||||
})
|
||||
}}
|
||||
enable={value.score_threshold_enable}
|
||||
enable={value.score_threshold_enabled}
|
||||
hasSwitch={true}
|
||||
onSwitchChange={(_key, v) => {
|
||||
onChange({
|
||||
...value,
|
||||
score_threshold_enable: v,
|
||||
score_threshold_enabled: v,
|
||||
})
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user