Skip to main content

MAX_GRAPH_DEPTH

Constant MAX_GRAPH_DEPTH 

Source
pub const MAX_GRAPH_DEPTH: usize = 8;
Expand description

How deep agent → pipeline → agent nesting may go.

Each level is a step whose sub-graph contains another step. Real flows are one or two levels; a graph that reaches eight is almost certainly recursing on itself, and stopping with a readable failure beats a stack that grows until the OS ends the process.