Open History to see the last commit
type ConstrainedModelMessage<TInputModalitiesTypes> = Omit<ModelMessage, "content"> & object;
Defined in: packages/ai/src/types.ts:810
A ModelMessage with content constrained to only allow content parts matching the specified input modalities.
Type Declaration#
content#
content: ConstrainedContent<TInputModalitiesTypes>;
Type Parameters#
TInputModalitiesTypes#
TInputModalitiesTypes extends InputModalitiesTypes