mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: Pass repomap_root as parent of parent of parent directory
This commit is contained in:
parent
eb7870c2c1
commit
626a89364d
1 changed files with 2 additions and 1 deletions
|
@ -440,7 +440,8 @@ class TestRepoMapAllLanguages(unittest.TestCase):
|
|||
|
||||
# Initialize RepoMap with the sample code base as root
|
||||
io = InputOutput()
|
||||
repo_map = RepoMap(main_model=self.GPT35, root=str(sample_code_base), io=io)
|
||||
repomap_root = Path(__file__).parent.parent.parent
|
||||
repo_map = RepoMap(main_model=self.GPT35, root=str(sample_code_base), io=io, repomap_root=str(repomap_root))
|
||||
|
||||
# Get all files in the sample code base
|
||||
other_files = [str(f) for f in sample_code_base.rglob("*") if f.is_file()]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue