Skip to content

list_files with recursive: true does not work as expected for folders starts with dot . #2992

@avtc

Description

@avtc

App Version

3.14.3

API Provider

LM Studio

Model Used

mistral-small-3.1-24b-instruct-2503-max-neo-imatrix

Actual vs. Expected Behavior

When model asks to list_files with recursive: true, the Roo Code returns empty files list in my case.
Root folder among other has the folder with files in it:

.roo-memory/
.roo-memory/Task.md
.roo-memory/Description.md

The log from lms log stream for recursive: true call:

I need to list the files in the ".roo-memory/" folder
<list_files>
<path>.roo-memory</path>
<recursive>true</recursive>
</list_files>[INST][list_files for '.roo-memory'] Result:No files found.<environment_details>

Image

The log from lms log stream for recursive: false call:

I need to list the files in the `.roo-memory` directory without recursion
<list_files>
<path>.roo-memory</path>
<recursive>false</recursive>
</list_files>[INST][list_files for '.roo-memory'] Result:Description.md
Task.md<environment_details>

Image

Detailed Steps to Reproduce

Relevant API Request Output

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions