mirror of https://github.com/langgenius/dify.git
fix: update dependencies in useChecklistBeforePublish hook to include embedding and rerank model lists
This commit is contained in:
parent
b5f25c85a5
commit
f3b63e5126
|
|
@ -221,7 +221,7 @@ export const useChecklistBeforePublish = () => {
|
|||
} as CommonNodeType<KnowledgeBaseNodeType>
|
||||
}
|
||||
return checkData
|
||||
}, [])
|
||||
}, [embeddingModelList, rerankModelList])
|
||||
|
||||
const handleCheckBeforePublish = useCallback(async () => {
|
||||
const {
|
||||
|
|
|
|||
Loading…
Reference in New Issue