ModelOption
type ModelOption = { default?: boolean; description?: string; disabled?: boolean; id: string; label: string;};
Selectable model option shown to end users.
Properties
Section titled “Properties”default?
Section titled “default?”optional default: boolean;
Determines if the model should be the default selected option.
description?
Section titled “description?”optional description: string;
Optional helper text shown with the option.
disabled?
Section titled “disabled?”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.