AgentPrismHealthOptions
Namespace AgentPrism · Assembly
AgentPrism.Core.dllDefines model-provider health-check options.
public sealed class AgentPrismHealthOptionsInheritance
Section titled “Inheritance”object ← AgentPrismHealthOptions
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 check calls GET {endpoint}/models and does not incur cost. Results
are cached, so /api/models/health does not call a provider on every request.
Constructors
Section titled “Constructors”AgentPrismHealthOptions()
Section titled “ AgentPrismHealthOptions()”public AgentPrismHealthOptions()Properties
Section titled “Properties”BackgroundInterval
Section titled “ BackgroundInterval”Gets or sets the automatic background health-check interval. When
null, the default, no background timer runs. The check
is triggered only from the UI’s “check now” action or /api/models/health.
public TimeSpan? BackgroundInterval { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This is intentionally empty because regular requests from an idle installation are an undesirable default.
CacheTtl
Section titled “ CacheTtl”Gets or sets how long a health-check result remains fresh in cache.
public TimeSpan CacheTtl { get; set; }