mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +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 = errors[:50]
|
||||||
errors = "\n".join(errors)
|
errors = "\n".join(errors)
|
||||||
instructions = errors
|
instructions = errors
|
||||||
instructions += (
|
instructions += f"""
|
||||||
f"\n\n####\n\nFix the code in {file_list} to resolve the test failures above."
|
|
||||||
)
|
####
|
||||||
|
|
||||||
|
See the testing errors above.
|
||||||
|
The tests are correct.
|
||||||
|
Fix the code in {file_list} to resolve the errors.
|
||||||
|
"""
|
||||||
|
|
||||||
results = dict(
|
results = dict(
|
||||||
testdir=str(testdir),
|
testdir=str(testdir),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue