Skip to main content

Interface: ProviderState

Defined in: packages/client/src/types.ts:169

Properties​

action?​

optional action?: "connect" | "download"

Defined in: packages/client/src/types.ts:177

What connect() would do, when status is needs-action.


capabilities​

capabilities: Capability[]

Defined in: packages/client/src/types.ts:171


detail?​

optional detail?: string

Defined in: packages/client/src/types.ts:181

Human-readable reason for the status.


embedModel?​

optional embedModel?: string

Defined in: packages/client/src/types.ts:173

The embedding model, when the provider can embed now (embed capability). Vectors of different models can't be compared.


model?​

optional model?: string

Defined in: packages/client/src/types.ts:175

Plain-language model or agent name, e.g. "Claude Code", "Gemini Nano".


progress?​

optional progress?: number

Defined in: packages/client/src/types.ts:179

0..1 while downloading.


status​

status: ProviderStatus

Defined in: packages/client/src/types.ts:170