RunComparisonSide
AgentPrism.AspNetCore.dllOne side of the comparison.
public sealed record RunComparisonSide : IEquatable<RunComparisonSide>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”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”RunComparisonSide()
Section titled “ RunComparisonSide()”public RunComparisonSide()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”Agent name.
public required string AgentName { get; init; }Property Value
Section titled “Property Value”AgentVersion
Section titled “ AgentVersion”Definition version. null if unknown.
public int? AgentVersion { get; init; }Property Value
Section titled “Property Value”int?
Cost.
public RunCost? Cost { get; init; }Property Value
Section titled “Property Value”DurationMs
Section titled “ DurationMs”Duration (milliseconds). null if the run has not finished.
public long? DurationMs { get; init; }Property Value
Section titled “Property Value”long?
ErrorClass
Section titled “ ErrorClass”Error class. null for a successful run.
public RunErrorClass? ErrorClass { get; init; }Property Value
Section titled “Property Value”ErrorMessage
Section titled “ ErrorMessage”Error message. null for a successful run.
public string? ErrorMessage { get; init; }Property Value
Section titled “Property Value”ModelId
Section titled “ ModelId”Model used.
public string? ModelId { get; init; }Property Value
Section titled “Property Value”Output
Section titled “ Output”Text produced by the model.
public string? Output { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The non-streaming path writes MessageCompleted, the streaming
path produces only MessageDelta. The two are not summed:
if MessageCompleted is present it is used, otherwise the chunks
are concatenated — otherwise the text would be counted twice on the
non-streaming path.
ReplayOfRunId
Section titled “ ReplayOfRunId”Source of this run, if it is a replay.
public Guid? ReplayOfRunId { get; init; }Property Value
Section titled “Property Value”Guid?
Run identifier.
public required Guid RunId { get; init; }Property Value
Section titled “Property Value”Scores
Section titled “ Scores”Scores written against this run.
public IReadOnlyList<RunScore> Scores { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”Final status.
public required RunStatus Status { get; init; }Property Value
Section titled “Property Value”ToolCallCount
Section titled “ ToolCallCount”Number of tool calls.
public required int ToolCallCount { get; init; }Property Value
Section titled “Property Value”Token usage.
public RunUsage? Usage { 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(RunComparisonSide?)
Section titled “ Equals(RunComparisonSide?)”public bool Equals(RunComparisonSide? other)Parameters
Section titled “Parameters”other RunComparisonSide?
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 ==(RunComparisonSide?, RunComparisonSide?)
Section titled “ operator ==(RunComparisonSide?, RunComparisonSide?)”public static bool operator ==(RunComparisonSide? left, RunComparisonSide? right)Parameters
Section titled “Parameters”left RunComparisonSide?
right RunComparisonSide?
Returns
Section titled “Returns”operator !=(RunComparisonSide?, RunComparisonSide?)
Section titled “ operator !=(RunComparisonSide?, RunComparisonSide?)”public static bool operator !=(RunComparisonSide? left, RunComparisonSide? right)Parameters
Section titled “Parameters”left RunComparisonSide?
right RunComparisonSide?