Skip to main content
Version: Next

AiContextOptions

AiContextOptions

Options for the AI context.

Signature
interface AiContextOptions<T extends Record<string, unknown> = Record<string, unknown>> {
message: Message;
params: T;
commandkit: CommandKit;
}

message

property
Message

The message that triggered the AI command.

params

property
T

The parameters passed to the AI command.

commandkit

property

The CommandKit instance associated with the AI command.