mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
feat: Include read-only files in the list printed above the user input prompt
This commit is contained in:
parent
701d7f6244
commit
64951d3d56
1 changed files with 4 additions and 1 deletions
|
@ -692,9 +692,12 @@ class Coder:
|
|||
return
|
||||
|
||||
def get_input(self):
|
||||
inchat_files = self.get_inchat_relative_files()
|
||||
read_only_files = [self.get_rel_fname(fname) for fname in self.abs_read_only_fnames]
|
||||
all_files = sorted(set(inchat_files + read_only_files))
|
||||
return self.io.get_input(
|
||||
self.root,
|
||||
self.get_inchat_relative_files(),
|
||||
all_files,
|
||||
self.get_addable_relative_files(),
|
||||
self.commands,
|
||||
self.abs_read_only_fnames,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue