From fdc585b83273c3ba281749247265fc72dd36836e Mon Sep 17 00:00:00 2001 From: Timothy Carambat Date: Wed, 15 Apr 2026 09:20:26 -0700 Subject: [PATCH] comment on outlook agent --- server/utils/agents/aibitat/plugins/outlook/lib.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/utils/agents/aibitat/plugins/outlook/lib.js b/server/utils/agents/aibitat/plugins/outlook/lib.js index 98e969ce..93a510c2 100644 --- a/server/utils/agents/aibitat/plugins/outlook/lib.js +++ b/server/utils/agents/aibitat/plugins/outlook/lib.js @@ -358,6 +358,7 @@ function isParseableMimeType(contentType) { /** * Collect attachments from messages and optionally parse them with user approval. * Only attachments with parseable MIME types will be offered for parsing. + * If two attachments have the same name, only the first one will be kept (handling fwd emails) * @param {Object} context - The handler context (this) from the aibitat function * @param {Array} messages - Array of message objects * @returns {Promise<{allAttachments: Array, parsedContent: string}>}