Skip to content

Type Alias: ChatModelOption

ts
type ChatModelOption = 
  | "chrome-ai"
  | "external"
  | ChatModel;

Defined in: packages/design-system/lib/assistant-ui/components/mw/Chat/index.d.ts:164

How the chat produces replies:

  • 'chrome-ai' (default) — built-in on-device Gemini Nano loop.
  • 'external' — render-only; replies are driven externally (the SDK's Node model driver, or a controlled caller writing messages).
  • a ChatModel — a custom page-side streaming model.

Matterway Assistant SDK Documentation