mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
fix(pipeline): add handling for RAG pipeline variables in workflow state
This commit is contained in:
@ -303,6 +303,7 @@ export const usePipelineRun = () => {
|
||||
})
|
||||
|
||||
workflowStore.getState().setEnvironmentVariables(publishedWorkflow.environment_variables || [])
|
||||
workflowStore.getState().setRagPipelineVariables?.(publishedWorkflow.rag_pipeline_variables || [])
|
||||
}, [handleUpdateWorkflowCanvas, workflowStore])
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user