mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
Stronger prompting to only modify full files, not parts of the repo map
This commit is contained in:
parent
4e557baad4
commit
a886ea472b
3 changed files with 14 additions and 10 deletions
|
@ -122,6 +122,7 @@ class RepoMap:
|
|||
|
||||
def split_path(self, path):
|
||||
path = os.path.relpath(path, self.root)
|
||||
return [path]
|
||||
return fname_to_components(path, True)
|
||||
|
||||
def get_tags(self, filename):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue