.NET API
OpenAILiveOptions
Tracon.OpenAI.dllOptions of the OpenAI live voice provider.
public sealed class OpenAILiveOptionsInheritance
Section titled “Inheritance”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”The type is not a record: option classes must not
produce a ToString that can be written to a log, and this one sits next to
an API key.
Constructors
Section titled “Constructors”OpenAILiveOptions()
Section titled “ OpenAILiveOptions()”public OpenAILiveOptions()Fields
Section titled “Fields”ConservativeCharactersPerToken
Section titled “ ConservativeCharactersPerToken”The characters-per-token ratio used to turn the provider’s token limit into a character ceiling.
public const int ConservativeCharactersPerToken = 2Field Value
Section titled “Field Value”Remarks
Section titled “Remarks”This is the single place the conversion is stated. Tracon ships no tokenizer and must not take one on (AOT, and no new package), so the limit is converted once and deliberately conservatively: a Turkish sentence spends far fewer characters per token than an English one, and a ratio tuned for English would have appends rejected in Turkish.
ProviderAppendTokenLimit
Section titled “ ProviderAppendTokenLimit”The per-append token limit the provider enforces, as measured against the live API.
public const int ProviderAppendTokenLimit = 500Field Value
Section titled “Field Value”Remarks
Section titled “Remarks”Measured 2026-09-11: an oversized append answers
"Context append text must not exceed 500 tokens."
SectionName
Section titled “ SectionName”The default name of the configuration section.
public const string SectionName = "Tracon:Providers:OpenAI:Live"Field Value
Section titled “Field Value”Properties
Section titled “Properties”BackendModel
Section titled “ BackendModel”Gets or sets the model the provider uses in Responses delegation mode.
public string? BackendModel { get; set; }Property Value
Section titled “Property Value”Endpoint
Section titled “ Endpoint”Gets or sets the API root. The default is https://api.openai.com/v1/.
public Uri? Endpoint { get; set; }Property Value
Section titled “Property Value”Uri?
MaxAppendCharacters
Section titled “ MaxAppendCharacters”Gets or sets the per-append character ceiling. The default is derived from OpenAILiveOptions.ProviderAppendTokenLimit and OpenAILiveOptions.ConservativeCharactersPerToken.
public int MaxAppendCharacters { get; set; }Property Value
Section titled “Property Value”Gets or sets the live model. The default is gpt-live-1.
public string Model { get; set; }Property Value
Section titled “Property Value”Timeout
Section titled “ Timeout”Gets or sets the timeout of the session-creation call. The default is 30 seconds.
public TimeSpan Timeout { get; set; }Property Value
Section titled “Property Value”Gets or sets the output voice; null leaves the provider’s default.
public string? Voice { get; set; }