Issue with PDF and Images File Reading in AI Agent Plugin on Mattermost 10.6.1

Hi! I have the following problem:

We are using the AI Agent plugin for Mattermost, version 1.1.1.

On our test machine, which runs Mattermost version 10.5.2, the plugin works as expected: the AI agent can read uploaded documents in PDF format and also images (other types like Word, PPTX also runs ok)

However, on our production server, which uses the same plugin version (1.1.1) but a newer Mattermost version (10.6.1), the AI agent can no longer read uploaded PDF and image files, while is still able to read contents of .csv, .txt. and Office files.

It appears there may be a compatibility issue between the plugin and Mattermost 10.6.1.

Steps to Reproduce:

  1. Install AI Agent plugin v1.1.1 on Mattermost 10.6.1.
  2. Upload a PDF and ask AI agent about its contents (as example)
  3. Observe that the LLM does not read or respond to the file.
1 Like

Hi, I have observed this behaviour on our test machine - the agent is quite happy with .docx files but won’t process PDF (confirmed the PDF files are not image only files). I haven’t had time to further investigate this as yet. If anyone has any idea about this I would be interested to know!

I was able to reproduce the same behaviour in our test container. Looks like since 10.6.1 version processing of the attached files is bugged / broken. I’ve also observed the same behaviour for 10.9.0 and 10.9.2 versions

1 Like

I notice the Agents plug in is now V1.2.1, I assume the problem still exists? I’ve seen reports where all attached files are broken, in my limited experience it seems PDF only…

OK so I had some time today and loaded up the my MM test environment. It is currently at 10.5.7. Noticing that the Copilot agent has been renamed to Agents (and this is all over the MM website), I thought perhaps that Marketplace might have an upgrade for the Copilot plugin from 1.1.1 to 1.2.1 (which I can see is available in GitHub).

The marketplace is still showing 1.1.1 and it is still listed as Copilot.

At what point is the Marketplace updated so later versions of a plugin can be installed?

I have a bunch of employees questioning me about the inclusion of AI in MM, but I’d like to avoid the Copilot confusion (thanks to MS). What is the best course of action here?

Also, have confirmed on my test:

Word (docx) and JPG/PNG files are able to be read through the plugin. Excel and PDF files do not seem to be accepted. This is using OpenAI gpt-4.1.

Hello,

We are using Agents (previously Copilot) on our Mattermost instance, and we are facing the same issue. The agent can see and understand images just fine, but is completely blind to PDFs. Even though the connected AI (Claude from Anthropic) supports reviewing PDFs perfectly fine.

Is there any planned fix here? PDF’s must be the most common way to share data digitally, it would be extremely useful to be able to have a private conversion and parse a PDF

Information about our instance:
Mattermost Version: 10.11.2
Database Schema Version: 141
Build Number: 17123712923

1 Like

An update on our setup, we now have production at 10.9.5, running the bundled (older) Copilot plugin with that version. We will be moving to the latest version in the next few weeks.

PDF support is essential for us and I’m uncertain as to why it isn’t working. I would like to upgrade us to a paid version in the future, using Mattermost as a secure gateway to AI, however without PDF support in Mattermost I don’t think I’ll be able to get support.

Really keen to get some help on this one.

1 Like

Replying to my own post here: Mattermost staff - what is the best method for me to get some answers to these questions? I’m fully aware I’m on the unpaid version of Mattermost, however answers to my queries will almost certainly support me upgrading to a paid version. Anyone?

Hey all. I think this issue should be resolved in the latest version of the plugin. I was also reported here: 🐛 bug: Mattermost doesn't read attached files in a conversation with AI Agent · Issue #352 · mattermost/mattermost-plugin-agents · GitHub

This feature relies on the Mattermost server to extract text from PDFs and other file attachments. This also powers the ability to search though the content of same documents, so a good way to test if it’s the Agents plugin or the server having an issue is to do a search for content within those documents and see if your PDFs or other documents show up or not.

Also note that not all documents types are supported, Agents supports the same ones that the server supports. Documentation for which are supported is available here: Search for messages - Mattermost documentation