Type Alias: GraphConditionFn()
GraphConditionFn = (
state) =>string
Defined in: packages/agentos/src/orchestration/ir/types.ts:97
A TypeScript function that inspects GraphState and returns the id of the next node.
Used with { type: 'function' } conditions so authors can express arbitrary routing logic.
Parameters
state
Returns
string