Unify metadata workflow cache and category handling

This commit is contained in:
Dariusz L
2026-09-13 23:09:22 +02:00
parent 21245569c7
commit 552ef683da
11 changed files with 318 additions and 111 deletions
@@ -486,6 +486,18 @@ export const workflowStateMethods = {
};
},
getCachedLoadedModelsForSignature(workflowSignature, { force = false } = {}) {
if (
force
|| !workflowSignature
|| this.cachedLoadedModelsSignature !== workflowSignature
|| !this.cachedLoadedModelsData
) {
return null;
}
return this.cachedLoadedModelsData;
},
saveAnalysisCacheForActiveWorkflow() {
this.saveWorkflowModelCache(
this.workflowAnalysisCaches,