mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
test error prompt
This commit is contained in:
parent
39434289f5
commit
7736289309
1 changed files with 8 additions and 3 deletions
|
@ -317,9 +317,14 @@ Only use standard python libraries, don't suggest installing any packages.
|
|||
errors = errors[:50]
|
||||
errors = "\n".join(errors)
|
||||
instructions = errors
|
||||
instructions += (
|
||||
f"\n\n####\n\nFix the code in {file_list} to resolve the test failures above."
|
||||
)
|
||||
instructions += f"""
|
||||
|
||||
####
|
||||
|
||||
See the testing errors above.
|
||||
The tests are correct.
|
||||
Fix the code in {file_list} to resolve the errors.
|
||||
"""
|
||||
|
||||
results = dict(
|
||||
testdir=str(testdir),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue