link to the faq on edit errors

This commit is contained in:
Paul Gauthier 2024-03-04 12:37:16 -08:00
parent 3d1a8e20f3
commit 0fb57895a4
3 changed files with 4 additions and 0 deletions

View file

@ -946,10 +946,12 @@ class Coder:
self.apply_update_errors += 1
if self.apply_update_errors < self.max_apply_update_errors:
self.io.tool_error(f"Malformed response #{self.apply_update_errors}, retrying...")
self.io.tool_error("https://aider.chat/docs/faq.html#aider-isnt-editing-my-files")
self.io.tool_error(str(err))
return None, err
else:
self.io.tool_error(f"Malformed response #{self.apply_update_errors}, aborting.")
self.io.tool_error("https://aider.chat/docs/faq.html#aider-isnt-editing-my-files")
self.io.tool_error(str(err))
return False, None