Skip to content
Tracon

RunRecordingDiagnostic

Namespace Tracon · Assembly Tracon.Abstractions.dll

What a run actually records, as configured.

public sealed record RunRecordingDiagnostic : IEquatable<RunRecordingDiagnostic>
Inheritance
object ← RunRecordingDiagnostic
Implements
IEquatable<RunRecordingDiagnostic>
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

These settings decide which run events exist at all, and an event that was never recorded is indistinguishable from one the model never produced. Reading the effective value is the difference between “the model did not think” and “reasoning recording is off” — a distinction that otherwise costs real provider calls to establish. Carries no secret: every member is a switch or a length.

public RunRecordingDiagnostic()

Gets whether runs are recorded at all.

public required bool Enabled { get; init; }

bool

Gets the longest recorded payload, in characters. 0 means no trimming.

public required int MaxPayloadLength { get; init; }

int

Gets whether assistant text is recorded as MessageDelta events.

public required bool RecordMessageDeltas { get; init; }

bool

Gets whether model reasoning is recorded as ReasoningDelta events.

public required bool RecordReasoningDeltas { get; init; }

bool

Off by default, unlike RunRecordingDiagnostic.RecordMessageDeltas. A model that returns reasoning content while this is off produces no event and no warning — the stream carries the reasoning, the record does not.

Gets whether the input messages are stored so a run can be replayed.

public required bool RecordRunInput { get; init; }

bool

Gets whether tool arguments and results are recorded.

public required bool RecordToolPayloads { get; init; }

bool

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunRecordingDiagnostic? other)

other RunRecordingDiagnostic?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RunRecordingDiagnostic?, RunRecordingDiagnostic?)

Section titled “ operator ==(RunRecordingDiagnostic?, RunRecordingDiagnostic?)”
public static bool operator ==(RunRecordingDiagnostic? left, RunRecordingDiagnostic? right)

left RunRecordingDiagnostic?

right RunRecordingDiagnostic?

bool

operator !=(RunRecordingDiagnostic?, RunRecordingDiagnostic?)

Section titled “ operator !=(RunRecordingDiagnostic?, RunRecordingDiagnostic?)”
public static bool operator !=(RunRecordingDiagnostic? left, RunRecordingDiagnostic? right)

left RunRecordingDiagnostic?

right RunRecordingDiagnostic?

bool