BudgetUpdatedEvent
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework.Progress¶
BudgetUpdatedEvent Class¶
Token budget usage has been updated.
public sealed record BudgetUpdatedEvent : NexusLabs.Needlr.AgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Needlr.AgentFramework.Progress.BudgetUpdatedEvent>
Inheritance System.Object 🡒 BudgetUpdatedEvent
Implements IProgressEvent, System.IEquatable<BudgetUpdatedEvent>
Constructors¶
BudgetUpdatedEvent(DateTimeOffset, string, string, string, int, long, long, long, long, Nullable<long>, Nullable<long>, Nullable<long>) Constructor¶
Token budget usage has been updated.
public BudgetUpdatedEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, long CurrentInputTokens, long CurrentOutputTokens, long CurrentTotalTokens, System.Nullable<long> MaxInputTokens, System.Nullable<long> MaxOutputTokens, System.Nullable<long> MaxTotalTokens);
Parameters¶
Timestamp System.DateTimeOffset
WorkflowId System.String
AgentId System.String
ParentAgentId System.String
Depth System.Int32
SequenceNumber System.Int64
CurrentInputTokens System.Int64
CurrentOutputTokens System.Int64
CurrentTotalTokens System.Int64
MaxInputTokens System.Nullable<System.Int64>
MaxOutputTokens System.Nullable<System.Int64>
MaxTotalTokens System.Nullable<System.Int64>