Skip to main content

Interface: ConnectionState

Defined in: packages/client/src/connection.ts:27

Properties​

alternatives​

alternatives: ProviderSnapshot[]

Defined in: packages/client/src/connection.ts:35

What could answer instead, when the visitor picks it (this browser's AI, the site's own): secondary choices, offered next to getting Leuria. See LeuriaOptions.fallback.


error?​

optional error?: Error

Defined in: packages/client/src/connection.ts:39

Why the last attempt failed, when status is declined.


model?​

optional model?: string

Defined in: packages/client/src/connection.ts:37

The visitor's AI, in their words (e.g. "Codex"), once known.


provider?​

optional provider?: ProviderSnapshot

Defined in: packages/client/src/connection.ts:29


status​

status: ConnectStatus

Defined in: packages/client/src/connection.ts:28