Spaces:
Sleeping
Sleeping
Update agents/graph_builder_langgraph.py
Browse files
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
|
| 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):
|