OGAM icon indicating copy to clipboard operation
OGAM copied to clipboard

[Bug]

Open frankvalenziano opened this issue 8 months ago • 4 comments

Uploading files deletes them from the source

Steps to Reproduce

  1. Attach file to project and save
  2. Check folder and see the original file is missing

Expected Behavior

The files get attached without deleting the originals

Actual Behavior

The files get attached and then are deleted from the system.

Environment

  • Platform: iPhone 17 running iOS 26.3.1

  • App Version: 0.0.81

  • Model in use: QEEN 3.5 GGUF

frankvalenziano avatar Mar 20 '26 04:03 frankvalenziano

Hi @frankvalenziano,

Thanks for reporting this — I've been looking into it and want to make sure I reproduce it correctly.

Could you answer a few questions?

Where does it happen?

Attaching a file in chat (paperclip button) Adding a file to a project's knowledge base Importing a model (.gguf or .zip) in the Models screen Other — please describe File details:

What file type/format? (e.g. PDF, TXT, ZIP, GGUF) Where was the file stored? (e.g. On My iPhone, iCloud Drive, Google Drive, Downloads) Device & behavior:

Does it happen every time or only sometimes? Does the file go completely missing, or does it move somewhere (e.g. trash)? We tested the chat attachment flow and ZIP model import on simulator and couldn't reproduce it — so the real-device + storage location details are especially important here.

Thanks 🙏

dishit-wednesday avatar Mar 26 '26 06:03 dishit-wednesday

Hi Dishit, Thanks for following up.

It happens when adding files to the Knowledge Base of a project folder. It happens to local files on the iPhone and to files in iCloud. I just tested it again to confirm that it still happens using different file extensions and from both the local location and iCloud location using three file types - PDF, TXT, and MD.

The file deletion happens every time I choose the file, even if it is unable to attach it due to being too large. The file is completely missing, I just checked the deleted folder to make sure and it is not there. I can see the file being removed in real-time when looking at the iCloud folder from the Mac when I perform the test on the iPhone.

I decided to also test attaching a file to the standard conversation from outside of a project, but when clicking the + and choosing Document, nothing happens. If I choose it a second time I get an error which I attached here.

Image

frankvalenziano avatar Mar 26 '26 13:03 frankvalenziano

Hey @frankvalenziano

Thank you so much for following up with those details -this was incredibly helpful. I was able to reproduce the issue on a real device just now and can confirm it's a real bug and a critical one at that. Files are indeed being deleted from their source location when added to the Knowledge Base.

This is a critical issue and I'm prioritizing a fix. I'll get this resolved and released as soon as possible.

Really appreciate you taking the time to test it thoroughly and provide such clear reproduction steps. 🙏

dishit-wednesday avatar Mar 26 '26 15:03 dishit-wednesday

Thank you for the prompt attention! Using the app has been great, thanks for all your and the team's efforts. 🙏

frankvalenziano avatar Mar 26 '26 16:03 frankvalenziano