ReducerNodeInvokedEvent
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework.Progress¶
ReducerNodeInvokedEvent Class¶
A reducer node in a DAG workflow was invoked. Reducer nodes are deterministic functions (no LLM calls) that aggregate branch outputs during fan-in convergence.
public sealed record ReducerNodeInvokedEvent : NexusLabs.Needlr.AgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Needlr.AgentFramework.Progress.ReducerNodeInvokedEvent>
Inheritance System.Object 🡒 ReducerNodeInvokedEvent
Implements IProgressEvent, System.IEquatable<ReducerNodeInvokedEvent>
Remarks¶
This event is distinct from AgentInvokedEvent because reducer nodes do not carry LLM-specific metadata (token usage, model, etc.). Consumers that only care about agent turns can safely ignore this event type.
Constructors¶
ReducerNodeInvokedEvent(DateTimeOffset, string, string, string, int, long, string, string, string, int, TimeSpan) Constructor¶
A reducer node in a DAG workflow was invoked. Reducer nodes are deterministic functions (no LLM calls) that aggregate branch outputs during fan-in convergence.
public ReducerNodeInvokedEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, string NodeId, string? GraphName, string? BranchId, int InputBranchCount, System.TimeSpan Duration);
Parameters¶
Timestamp System.DateTimeOffset
WorkflowId System.String
AgentId System.String
ParentAgentId System.String
Depth System.Int32
SequenceNumber System.Int64
NodeId System.String
GraphName System.String
BranchId System.String
InputBranchCount System.Int32
Duration System.TimeSpan
Remarks¶
This event is distinct from AgentInvokedEvent because reducer nodes do not carry LLM-specific metadata (token usage, model, etc.). Consumers that only care about agent turns can safely ignore this event type.