mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
persist file add/drop messages
This commit is contained in:
parent
ce5abf8c79
commit
bfd9398f28
1 changed files with 2 additions and 2 deletions
|
@ -181,12 +181,12 @@ class GUI:
|
||||||
for fname in fnames:
|
for fname in fnames:
|
||||||
if fname not in self.coder.get_inchat_relative_files():
|
if fname not in self.coder.get_inchat_relative_files():
|
||||||
self.coder.add_rel_fname(fname)
|
self.coder.add_rel_fname(fname)
|
||||||
self.messages.info(f"Added {fname} to the chat")
|
self.info(f"Added {fname} to the chat")
|
||||||
for fname in self.coder.get_inchat_relative_files():
|
for fname in self.coder.get_inchat_relative_files():
|
||||||
if fname not in fnames:
|
if fname not in fnames:
|
||||||
abs_fname = self.coder.abs_root_path(fname)
|
abs_fname = self.coder.abs_root_path(fname)
|
||||||
self.coder.abs_fnames.remove(abs_fname)
|
self.coder.abs_fnames.remove(abs_fname)
|
||||||
self.messages.info(f"Removed {fname} from the chat")
|
self.info(f"Removed {fname} from the chat")
|
||||||
|
|
||||||
with st.popover("Add web page"):
|
with st.popover("Add web page"):
|
||||||
self.do_web()
|
self.do_web()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue