mirror of
https://github.com/langgenius/dify.git
synced 2026-04-07 08:46:31 +08:00
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
Block a user