comment on outlook agent

This commit is contained in:
Timothy Carambat 2026-04-15 09:20:26 -07:00
parent 9334bfef3b
commit fdc585b832

View File

@ -358,6 +358,7 @@ function isParseableMimeType(contentType) {
/** /**
* Collect attachments from messages and optionally parse them with user approval. * Collect attachments from messages and optionally parse them with user approval.
* Only attachments with parseable MIME types will be offered for parsing. * 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 {Object} context - The handler context (this) from the aibitat function
* @param {Array} messages - Array of message objects * @param {Array} messages - Array of message objects
* @returns {Promise<{allAttachments: Array, parsedContent: string}>} * @returns {Promise<{allAttachments: Array, parsedContent: string}>}