Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: incorrect last run result (#29128)

非法操作e8c47ec8ac8a
diff --git a/web/service/use-workflow.ts b/web/service/use-workflow.ts
index 901b35994f5..5da83be3607 100644
--- a/web/service/use-workflow.ts
+++ b/web/service/use-workflow.ts
@@ -123,7 +123,7 @@ export const useInvalidLastRun = (flowType: FlowType, flowId: string, nodeId: st
// Rerun workflow or change the version of workflow
export const useInvalidAllLastRun = (flowType?: FlowType, flowId?: string) => {
- return useInvalid([NAME_SPACE, flowType, 'last-run', flowId])
+ return useInvalid([...useLastRunKey, flowType, flowId])
}
export const useConversationVarValues = (flowType?: FlowType, flowId?: string) => {