mirror of https://github.com/langgenius/dify.git
fix(pipeline): add handling for RAG pipeline variables in workflow state
This commit is contained in:
parent
5e854238b0
commit
1ad46d0962
|
|
@ -303,6 +303,7 @@ export const usePipelineRun = () => {
|
|||
})
|
||||
|
||||
workflowStore.getState().setEnvironmentVariables(publishedWorkflow.environment_variables || [])
|
||||
workflowStore.getState().setRagPipelineVariables?.(publishedWorkflow.rag_pipeline_variables || [])
|
||||
}, [handleUpdateWorkflowCanvas, workflowStore])
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in New Issue