Skip to content

Type Alias: Modality

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / Modality

Modality = typeof ModalityType[keyof typeof ModalityType]

Defined in: src/types/errors.ts:103

Modality type discriminator union.

This type is derived from ModalityType constants. The name Modality is kept for backward compatibility; ModalityType works as both the const object and this type.