mirror of
				https://github.com/HKUDS/LightRAG.git
				synced 2025-11-03 19:29:38 +00:00 
			
		
		
		
	fix: add missing rag parameter in pipeline_enqueue_file call
• Add rag param to function call • Fix argument mismatch error • Ensure proper pipeline execution
This commit is contained in:
		
							parent
							
								
									82a4cb3e79
								
							
						
					
					
						commit
						f52b9929bb
					
				@ -263,7 +263,7 @@ async def pipeline_index_file(rag: LightRAG, file_path: Path):
 | 
				
			|||||||
        file_path: Path to the saved file
 | 
					        file_path: Path to the saved file
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    try:
 | 
					    try:
 | 
				
			||||||
        if await pipeline_enqueue_file(file_path):
 | 
					        if await pipeline_enqueue_file(rag, file_path):
 | 
				
			||||||
            await rag.apipeline_process_enqueue_documents()
 | 
					            await rag.apipeline_process_enqueue_documents()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    except Exception as e:
 | 
					    except Exception as e:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user