mirror of
				https://github.com/langgenius/dify.git
				synced 2025-11-04 04:43:09 +00:00 
			
		
		
		
	fix: rag variable
This commit is contained in:
		
							parent
							
								
									8ab5c47737
								
							
						
					
					
						commit
						6faa4b107b
					
				@ -77,7 +77,7 @@ const WorkflowVariableBlockComponent = ({
 | 
			
		||||
      variableValid = conversationVariables.some(v => v.variable === `${variables?.[0] ?? ''}.${variables?.[1] ?? ''}`)
 | 
			
		||||
  }
 | 
			
		||||
  else if (isRagVar) {
 | 
			
		||||
    variableValid = !!node || (variables[0] === 'rag' && variables[1] === 'shared')
 | 
			
		||||
    variableValid = variables[0] === 'rag'
 | 
			
		||||
  }
 | 
			
		||||
  else {
 | 
			
		||||
    variableValid = !!node
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user