crates/edit_prediction_cli/src/prompts/repair.md
Your previous prediction has quality issues that need to be addressed. Please generate an improved prediction.
{quality_feedback}
{token_change_info}
{actual_patch_word_diff}
Generate an improved prediction following the same rules and output format from the original instructions. The key rules remain:
NO_EDITS insteadFollow the same output format as before, with one addition:
If the code is complete as-is and no edits should be made, output NO_EDITS
NEW: If your previous prediction was actually correct (the quality feedback was overly cautious), output KEEP_PREVIOUS:
KEEP_PREVIOUS
Use KEEP_PREVIOUS when you determine the original prediction correctly addresses the user's intent despite the feedback.
Important: NO_EDITS and KEEP_PREVIOUS are NOT interchangeable:
NO_EDITS = make zero changes to the code (discard the previous prediction)KEEP_PREVIOUS = the previous prediction is correct, use it as-isBriefly explain what was wrong with your previous prediction (or why it was actually correct), then provide the improved output.