Skip to content

fix(file_read): filter hidden directories from glob results (#289)#506

Open
wangwangbobo wants to merge 4 commits into
strands-agents:mainfrom
wangwangbobo:fix/file-read-hidden-dirs
Open

fix(file_read): filter hidden directories from glob results (#289)#506
wangwangbobo wants to merge 4 commits into
strands-agents:mainfrom
wangwangbobo:fix/file-read-hidden-dirs

Conversation

@wangwangbobo

Copy link
Copy Markdown
Contributor

Fixes #289 — file_read tool was listing files under hidden directories (like .git) when using glob patterns. Added a 2-line filter after glob.glob() to exclude files with path components starting with ".".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] file_read tool lists files under hidden folder

1 participant