mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
feat: Add read-only file announcements to chat
This commit is contained in:
parent
89d35e020a
commit
308c7ab670
1 changed files with 3 additions and 1 deletions
|
@ -246,7 +246,9 @@ class Coder:
|
||||||
for fname in self.get_inchat_relative_files():
|
for fname in self.get_inchat_relative_files():
|
||||||
lines.append(f"Added {fname} to the chat.")
|
lines.append(f"Added {fname} to the chat.")
|
||||||
|
|
||||||
# also print out "Added fname to the chat (read-only)" for ro files ai!
|
for fname in self.abs_read_only_fnames:
|
||||||
|
rel_fname = self.get_rel_fname(fname)
|
||||||
|
lines.append(f"Added {rel_fname} to the chat (read-only)")
|
||||||
|
|
||||||
if self.done_messages:
|
if self.done_messages:
|
||||||
lines.append("Restored previous conversation history.")
|
lines.append("Restored previous conversation history.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue