mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
link to the faq on edit errors
This commit is contained in:
parent
3d1a8e20f3
commit
0fb57895a4
3 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
- Vocally refuse to add files to the chat that match `.aiderignore`
|
- Vocally refuse to add files to the chat that match `.aiderignore`
|
||||||
- Prevents bug where subsequent git commit of those files will fail.
|
- Prevents bug where subsequent git commit of those files will fail.
|
||||||
- Added `--openai-organization-id` argument.
|
- Added `--openai-organization-id` argument.
|
||||||
|
- Show the user a FAQ link if edits fail to apply.
|
||||||
- Made past articles part of https://aider.chat/blog/
|
- Made past articles part of https://aider.chat/blog/
|
||||||
|
|
||||||
### v0.24.1
|
### v0.24.1
|
||||||
|
|
|
@ -946,10 +946,12 @@ class Coder:
|
||||||
self.apply_update_errors += 1
|
self.apply_update_errors += 1
|
||||||
if self.apply_update_errors < self.max_apply_update_errors:
|
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(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))
|
self.io.tool_error(str(err))
|
||||||
return None, err
|
return None, err
|
||||||
else:
|
else:
|
||||||
self.io.tool_error(f"Malformed response #{self.apply_update_errors}, aborting.")
|
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))
|
self.io.tool_error(str(err))
|
||||||
return False, None
|
return False, None
|
||||||
|
|
||||||
|
|
|
@ -166,6 +166,7 @@ introduced.
|
||||||
But sometimes GPT just won't cooperate.
|
But sometimes GPT just won't cooperate.
|
||||||
In these cases, here are some things you might try:
|
In these cases, here are some things you might try:
|
||||||
|
|
||||||
|
- Try the older GPT-4 model `gpt-4-0613` not GPT-4 Turbo by running `aider --model gpt-4-0613`.
|
||||||
- Use `/drop` to remove files from the chat session which aren't needed for the task at hand. This will reduce distractions and may help GPT produce properly formatted edits.
|
- Use `/drop` to remove files from the chat session which aren't needed for the task at hand. This will reduce distractions and may help GPT produce properly formatted edits.
|
||||||
- Use `/clear` to remove the conversation history, again to help GPT focus.
|
- Use `/clear` to remove the conversation history, again to help GPT focus.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue