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

    Interface AttachmentLimits

    Limits the omnibar applies to attachments. All fields are optional. files/images are backend-sourced; the omnibar falls back to its built-in defaults for whichever is absent. tabs is a hardcoded native cap; when omitted (kill switch off) no tab limit is applied.

    interface AttachmentLimits {
        files?: {
            maxFileSizeMB: number;
            maxPagesPerFile: number;
            maxPerConversation: number;
            maxTotalFileSizeBytes: number;
        };
        images?: {
            maxInputCharsWithAttachments: number;
            maxPerConversation: number;
            maxPerTurn: number;
        };
        tabs?: { maxAttached: number };
    }
    Index
    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.

    tabs?: { maxAttached: number }

    Limits for attached open tabs. Omitted when the tab-limit kill switch is off, meaning no tab limit.

    Type Declaration

    • maxAttached: number

      Maximum number of open tabs that can be attached at once.