mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
fix: update dependencies in useChecklistBeforePublish hook to include embedding and rerank model lists
This commit is contained in:
@ -221,7 +221,7 @@ export const useChecklistBeforePublish = () => {
|
||||
} as CommonNodeType<KnowledgeBaseNodeType>
|
||||
}
|
||||
return checkData
|
||||
}, [])
|
||||
}, [embeddingModelList, rerankModelList])
|
||||
|
||||
const handleCheckBeforePublish = useCallback(async () => {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user