Skip to content

ModelOption

type ModelOption = {
default?: boolean;
description?: string;
disabled?: boolean;
id: string;
label: string;
};

Selectable model option shown to end users.

optional default: boolean;

Determines if the model should be the default selected option.


optional description: string;

Optional helper text shown with the option.


optional disabled: boolean;

When true the option is visible but cannot be selected.


id: string;

Identifier used when submitting a message.


label: string;

Label displayed in the model picker.