Route after chunking: ontology map-reduce vs facts-only.
Source code in ontocast/stategraph/routing.py
| def route_after_chunk(state: AgentState) -> str:
"""Route after chunking: ontology map-reduce vs facts-only."""
if not state.render_ontology:
return WorkflowNode.RENDER_FACTS
return WorkflowNode.RENDER_ONTOLOGY_UPDATE
|