mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
style: Format code with consistent spacing in comments
This commit is contained in:
parent
3e9a6ffbca
commit
3a18a9296b
1 changed files with 8 additions and 8 deletions
|
@ -15,29 +15,29 @@ class ContextCoder(Coder):
|
|||
if not content or not content.strip():
|
||||
return True
|
||||
|
||||
#dump(repr(content))
|
||||
# dump(repr(content))
|
||||
current_rel_fnames = set(self.get_inchat_relative_files())
|
||||
mentioned_rel_fnames = set(self.get_file_mentions(content, ignore_current=True))
|
||||
|
||||
#dump(current_rel_fnames)
|
||||
#dump(mentioned_rel_fnames)
|
||||
#dump(current_rel_fnames == mentioned_rel_fnames)
|
||||
# dump(current_rel_fnames)
|
||||
# dump(mentioned_rel_fnames)
|
||||
# dump(current_rel_fnames == mentioned_rel_fnames)
|
||||
|
||||
if mentioned_rel_fnames == current_rel_fnames:
|
||||
return True
|
||||
|
||||
if self.num_reflections >= self.max_reflections-1:
|
||||
if self.num_reflections >= self.max_reflections - 1:
|
||||
return True
|
||||
|
||||
self.abs_fnames = set()
|
||||
for fname in mentioned_rel_fnames:
|
||||
self.add_rel_fname(fname)
|
||||
#dump(self.get_inchat_relative_files())
|
||||
# dump(self.get_inchat_relative_files())
|
||||
|
||||
self.reflected_message = self.gpt_prompts.try_again
|
||||
|
||||
#mentioned_idents = self.get_ident_mentions(cur_msg_text)
|
||||
#if mentioned_idents:
|
||||
# mentioned_idents = self.get_ident_mentions(cur_msg_text)
|
||||
# if mentioned_idents:
|
||||
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue