Skip to content

@camera.ui/sdk / plugin / AssistantModelStatus

Interface: AssistantModelStatus ​

Defined in: plugin/assistant-models.ts:122

Whether the plugin can answer right now. A model that has to be downloaded or loaded first reports ready: false with a line the settings page shows, and a progress while it knows one.

Example ​

ts
{ ready: false, message: 'macOS is downloading the model', progress: 0.62 }

Properties ​

message? ​

optional message?: string

Defined in: plugin/assistant-models.ts:126

One line for the user: what the plugin is waiting for, or what it is doing.


progress? ​

optional progress?: number

Defined in: plugin/assistant-models.ts:128

How far the loading got, between 0 and 1.


ready ​

ready: boolean

Defined in: plugin/assistant-models.ts:124

The models of this plugin can answer right now.