.NET API
TraconStructuredResponseOptions
Tracon.Core.dllStructured response validation settings.
public sealed class TraconStructuredResponseOptionsInheritance
Section titled “Inheritance”object ← TraconStructuredResponseOptions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Read from the Tracon:StructuredResponse configuration section. See
TraconServiceCollectionExtensions.AddTracon.
Constructors
Section titled “Constructors”TraconStructuredResponseOptions()
Section titled “ TraconStructuredResponseOptions()”public TraconStructuredResponseOptions()Fields
Section titled “Fields”SectionName
Section titled “ SectionName”The configuration section name.
public const string SectionName = "Tracon:StructuredResponse"Field Value
Section titled “Field Value”Properties
Section titled “Properties”Enabled
Section titled “ Enabled”Whether a run’s response is checked against the agent’s requested AgentResponseFormat before the run closes. Defaults to false: today’s behaviour (a response is never inspected after the model returns it) does not change unless a setup opts in.
public bool Enabled { get; set; }Property Value
Section titled “Property Value”MaxRepairAttempts
Section titled “ MaxRepairAttempts”How many REPAIR turns may follow an invalid response. 0 (the
default) disables repair entirely: an invalid response fails the run
exactly as it does today. A value of 2 permits at most THREE
model calls in total — the original turn plus two repairs.
public int MaxRepairAttempts { get; set; }