Skip to main content

AiMessage

type

What a mod puts into a session. The `type` says what kind of thing it is; who produced it is stamped by the host from the calling context and is never authored.

type AiMessage = AiPromptMessage | AiNotificationMessage

Import

import { AiMessage } from '@modular/sdk/view';