eca icon indicating copy to clipboard operation
eca copied to clipboard

`eca_directory_tree` should list files as tree, not only depth

Open ericdallo opened this issue 1 year ago • 4 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

This should be a improvement to this tool to avoid LLM spawn it too much unnecessarily.

ericdallo avatar Aug 24 '25 14:08 ericdallo

btw. Why is eca_directory_tree used when repoMap should provide already enough context?

zikajk avatar Aug 24 '25 15:08 zikajk

Good question, I believe this is a really basic tool we should support, especially if user is not adding repoMap context, since repoMap contains only .git files, not gitignored, which directory_tree lists

ericdallo avatar Aug 24 '25 15:08 ericdallo

Ah, no, I totally agree, I just noticed it is called even when it is not needed.

zikajk avatar Aug 24 '25 15:08 zikajk

Indeed @zikajk, I believe we should tune its description prompt or system prompt to aovid that

ericdallo avatar Aug 24 '25 17:08 ericdallo