sim icon indicating copy to clipboard operation
sim copied to clipboard

[BUG] Repeated File Upload Fails in Sim AI Offline Setup (ENOENT After First Successful Run)

Open RuturajS02 opened this issue 11 months ago • 1 comments

I wanted to bring to your attention an issue I am encountering while working with Sim AI with ollama in the offline setup. The initial file upload(file upload nodeand summarization through the Agent node work correctly. However, when I attempt to process the same file a second time—whether using the same agent or a different one—I receive the following error:

ENOENT: no such file or directory Error accessing file from cloud storage: /uploads/workspace//-file.txt

Image

)

This issue occurs only on subsequent attempts with the same file. The first run always succeeds, but the system is unable to locate the file afterward.

Could you please guide me on how to resolve this error or let me know if any additional configuration is required for offline file handling?

RuturajS02 avatar Dec 11 '25 05:12 RuturajS02

Uploaded files should be kept around for the duration of the session instead of being deleted after the first successful run.

A simple approach would be: • Store uploaded files in a persistent workspace directory (not a temp folder) • Reuse that stored file for subsequent agent runs • Only clean up uploaded files when the session ends or when the user explicitly removes them

This would make repeated runs with the same file work reliably in offline mode and align better with user expectations.

An alternative could be re-copying the file into the workspace before every run, but persisting the upload feels cleaner and more predictable.

This change should prevent the ENOENT issue and make offline file handling much more stable @RuturajS02 assign it to me i will try to solve this with my approch

Siddhartha-singh01 avatar Dec 14 '25 20:12 Siddhartha-singh01