AgentCompletedEvent
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework.Progress¶
AgentCompletedEvent Class¶
An agent has completed its turn.
public sealed record AgentCompletedEvent : NexusLabs.Needlr.AgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Needlr.AgentFramework.Progress.AgentCompletedEvent>
Inheritance System.Object 🡒 AgentCompletedEvent
Implements IProgressEvent, System.IEquatable<AgentCompletedEvent>
Constructors¶
AgentCompletedEvent(DateTimeOffset, string, string, string, int, long, string, TimeSpan, long, Nullable<long>, Nullable<long>, Nullable<int>, string) Constructor¶
An agent has completed its turn.
public AgentCompletedEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, string AgentName, System.TimeSpan Duration, long TotalTokens, System.Nullable<long> InputTokens=null, System.Nullable<long> OutputTokens=null, System.Nullable<int> ToolCallCount=null, string? TerminationReason=null);
Parameters¶
Timestamp System.DateTimeOffset
WorkflowId System.String
AgentId System.String
ParentAgentId System.String
Depth System.Int32
SequenceNumber System.Int64
AgentName System.String
Duration System.TimeSpan
TotalTokens System.Int64
InputTokens System.Nullable<System.Int64>
OutputTokens System.Nullable<System.Int64>
ToolCallCount System.Nullable<System.Int32>
TerminationReason System.String