mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
fix: Rename completions_read
to completions_add
This commit is contained in:
parent
f1cfbe9c36
commit
d54f25d63b
1 changed files with 3 additions and 4 deletions
|
@ -485,6 +485,9 @@ class Commands:
|
|||
fname = f'"{fname}"'
|
||||
return fname
|
||||
|
||||
def completions_read(self):
|
||||
return self.completions_add()
|
||||
|
||||
def completions_add(self):
|
||||
files = set(self.coder.get_all_relative_files())
|
||||
files = files - set(self.coder.get_inchat_relative_files())
|
||||
|
@ -1017,7 +1020,3 @@ def main():
|
|||
if __name__ == "__main__":
|
||||
status = main()
|
||||
sys.exit(status)
|
||||
|
||||
|
||||
def completions_read(self):
|
||||
return [] # No auto-completion for now, as it would require listing all files on the system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue