Skip to content

[BUG]Folder with Files loader inconsistent. #4293

@one2123

Description

@one2123

Describe the bug
In my multi agent workflow i have been using Folder with Files loader to load multiple pdf files for summarization. I have multiple folders in the document directory some of them have subfolders others only have PDFs. The problem is that when i save my workflow to load the documents it runs fine but when trying to use the data from the PDFs i get "message stopped" popup in the bottom and my chat stops there. but it works sometimes with no problems at all.

To Reproduce
create a multi-agent chat flow with folder with files loader.

  1. Save the flow to load documents
  2. Use chat to access the files("List document titles")'
  3. sometime it gives error else runs just fine.
  4. now change the location in the file loader
  5. save and repeat
  6. see error

Expected behavior
documents should load from the given file path.

Screenshots

Image
Image

Setup

  • Installation [docker on elest.io ]
  • Flowise Version [ 2.2.7, [email protected]]
  • OS: [Linux]
  • Browser [chrome, firefox]

Additional context
There is no set pattern to this error. I have tried multiple folder names,patterns,subfolders,file types, different models and providers,

etc. It will read files just fine for some of them but will fail for others. The failure is also strange since it does not give any errors when i save the workflow but it seems to be unable to read the files the in folders and the result is given as "message stopped" in popup message and nothing in the chat window.
i have seen similar error in this issue #2557 but its not quite the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions