@duckduckgo/content-scope-scripts
    Preparing search index...

    Interface AttachmentLimits

    Limits the omnibar applies to image and file attachments. When omitted, the omnibar uses its built-in defaults.

    interface AttachmentLimits {
        files: {
            maxFileSizeMB: number;
            maxPagesPerFile: number;
            maxPerConversation: number;
            maxTotalFileSizeBytes: number;
        };
        images: {
            maxInputCharsWithAttachments: number;
            maxPerConversation: number;
            maxPerTurn: number;
        };
    }
    Index

    Properties

    Properties

    files: {
        maxFileSizeMB: number;
        maxPagesPerFile: number;
        maxPerConversation: number;
        maxTotalFileSizeBytes: number;
    }

    Limits for file attachments (e.g. PDFs).

    Type Declaration

    • maxFileSizeMB: number

      Maximum size of a single file attachment, in megabytes.

    • maxPagesPerFile: number

      Maximum number of pages allowed in a single file (e.g. PDF). Not enforced web-side.

    • maxPerConversation: number

      Maximum number of file attachments allowed.

    • maxTotalFileSizeBytes: number

      Maximum combined size of all file attachments, in bytes.

    images: {
        maxInputCharsWithAttachments: number;
        maxPerConversation: number;
        maxPerTurn: number;
    }

    Limits for image attachments.

    Type Declaration

    • maxInputCharsWithAttachments: number

      Maximum prompt length (characters) when attachments are present. Not enforced web-side.

    • maxPerConversation: number

      Maximum number of images allowed across an entire conversation.

    • maxPerTurn: number

      Maximum number of images allowed in a single submission.