ClientHealth

org.llm4s.llmconnect.utils.ClientHealth
final case class ClientHealth(status: ConnectionStatus, lastHealthCheck: Instant, responseTimeMs: Option[Long], errorCount: Long, capabilities: Option[ProviderCapabilities])

Health check snapshot for an LLM client connection.

Value parameters

capabilities

provider capabilities discovered during the health check

errorCount

cumulative number of errors observed on this connection

lastHealthCheck

timestamp of the most recent health check

responseTimeMs

round-trip time of the last successful health check in milliseconds

status

current connection status

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product