mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: resolve syntax errors in commands.py and improve file handling logic
This commit is contained in:
parent
45d94b1c7c
commit
41d5b284e3
1 changed files with 1 additions and 0 deletions
|
@ -715,6 +715,7 @@ class Commands:
|
||||||
self.coder.abs_fnames.add(abs_file_path)
|
self.coder.abs_fnames.add(abs_file_path)
|
||||||
self.io.tool_output(
|
self.io.tool_output(
|
||||||
f"Moved {matched_file} from read-only to editable files in the chat"
|
f"Moved {matched_file} from read-only to editable files in the chat"
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
if is_image_file(matched_file) and not self.coder.main_model.accepts_images:
|
if is_image_file(matched_file) and not self.coder.main_model.accepts_images:
|
||||||
self.io.tool_error(
|
self.io.tool_error(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue