PR-Pilot-AI / pr-pilot

An AI agent for your development workflow that can search and manipulate the code base, browse the internet and interact with Github issues and pull requests
https://www.pr-pilot.ai
GNU General Public License v3.0
148 stars 15 forks source link

✨ Add 'find_files' tool to use 'find' command line tool #172

Open pr-pilot-ai[bot] opened 2 months ago

pr-pilot-ai[bot] commented 2 months ago

Description

Currently, PR Pilot has tools like list_directory and read_files, which can be inefficient when looking for specific file names. To improve this, we should add a new tool called find_files that utilizes the find command line tool to locate files more efficiently.

Tasks

  1. Implement the find_files tool.
  2. Integrate the tool into the existing system.
  3. Write tests to ensure the tool works correctly.

Rationale

Using the find command line tool will make it easier and faster to locate specific files, improving the overall efficiency of the PR Pilot.

Related Files

Labels