dina1 commited on
Commit
2d596fc
·
verified ·
1 Parent(s): 47e1153

Update agents/graph_builder_langgraph.py

Browse files
Files changed (1) hide show
  1. agents/graph_builder_langgraph.py +1 -1
agents/graph_builder_langgraph.py CHANGED
@@ -25,7 +25,7 @@ class PipelineState(BaseModel):
25
  async def node_parse_docs(state: PipelineState):
26
  print("📄 [Document Parser] Extracting text...")
27
 
28
- result = await parse_documents(state["files"])
29
 
30
  # handle both string or dict outputs
31
  if isinstance(result, dict):
 
25
  async def node_parse_docs(state: PipelineState):
26
  print("📄 [Document Parser] Extracting text...")
27
 
28
+ result = await parse_documents(state.files)
29
 
30
  # handle both string or dict outputs
31
  if isinstance(result, dict):