Member Junction
    Preparing search index...

    Represents the effective limits for a specific modality (e.g., Image, Audio). These limits are resolved using the precedence chain: Agent → Model → System → Defaults.

    interface ModalityLimits {
        isAllowed: boolean;
        maxCountPerMessage: number;
        maxDimension: number;
        maxSizeBytes: number;
        source: "Agent" | "Model" | "System" | "Default";
        supportedFormats: string;
    }
    Index

    Properties

    isAllowed: boolean

    Indicates whether this modality is allowed/supported.

    maxCountPerMessage: number

    Maximum count of items per message for this modality. Null means no limit.

    maxDimension: number

    Maximum dimension (width/height for images). Only applicable for image modality. Null means no limit.

    maxSizeBytes: number

    Maximum size in bytes for this modality. Null means no limit.

    source: "Agent" | "Model" | "System" | "Default"

    The source of the limits ('Agent', 'Model', 'System', or 'Default')

    supportedFormats: string

    Supported formats as a comma-delimited string (e.g., "image/png, image/jpeg"). Null means all formats.