RunAgentStatistics
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllAn agent’s run summary.
public sealed record RunAgentStatistics : IEquatable<RunAgentStatistics>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<RunAgentStatistics>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RunAgentStatistics()
Section titled “ RunAgentStatistics()”public RunAgentStatistics()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”The agent name.
public required string AgentName { get; init; }Property Value
Section titled “Property Value”FailedRuns
Section titled “ FailedRuns”This agent’s number of runs that ended in an error.
public required long FailedRuns { get; init; }Property Value
Section titled “Property Value”TotalRuns
Section titled “ TotalRuns”This agent’s total number of runs.
public required long TotalRuns { get; init; }Property Value
Section titled “Property Value”TotalTokens
Section titled “ TotalTokens”This agent’s total token usage.
public long TotalTokens { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(RunAgentStatistics?)
Section titled “ Equals(RunAgentStatistics?)”public bool Equals(RunAgentStatistics? other)Parameters
Section titled “Parameters”other RunAgentStatistics?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(RunAgentStatistics?, RunAgentStatistics?)
Section titled “ operator ==(RunAgentStatistics?, RunAgentStatistics?)”public static bool operator ==(RunAgentStatistics? left, RunAgentStatistics? right)Parameters
Section titled “Parameters”left RunAgentStatistics?
right RunAgentStatistics?
Returns
Section titled “Returns”operator !=(RunAgentStatistics?, RunAgentStatistics?)
Section titled “ operator !=(RunAgentStatistics?, RunAgentStatistics?)”public static bool operator !=(RunAgentStatistics? left, RunAgentStatistics? right)Parameters
Section titled “Parameters”left RunAgentStatistics?
right RunAgentStatistics?