fix: update dependencies in useChecklistBeforePublish hook to include embedding and rerank model lists

This commit is contained in:
twwu 2025-10-23 12:20:43 +08:00
parent b5f25c85a5
commit f3b63e5126
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ export const useChecklistBeforePublish = () => {
} as CommonNodeType<KnowledgeBaseNodeType>
}
return checkData
}, [])
}, [embeddingModelList, rerankModelList])
const handleCheckBeforePublish = useCallback(async () => {
const {