Skip to content

ModelProviderHealthStatus

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A provider’s checked reachability status.

[JsonConverter(typeof(JsonStringEnumConverter<ModelProviderHealthStatus>))]
public enum ModelProviderHealthStatus

Degraded = 2

The provider is reachable but returned an unexpected response.

Healthy = 1

The provider is reachable.

Unhealthy = 3

The provider is unreachable.

Unknown = 0

The provider does not implement IModelProviderHealthCheck.

Written as a name in JSON: a numeric value would be unreadable as a wire contract, and would silently break if the enum order changed.