We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 141161b + f5cee4b commit 7ec1f25Copy full SHA for 7ec1f25
1 file changed
src/agent/loop/LargeFileRepair.ts
@@ -62,7 +62,9 @@ export class LargeFileRepair {
62
if (this.wroteFile) {
63
const risk = hasPostDraftRisk(results);
64
if (!risk) {
65
- this.pendingLargeFileRepair = false;
+ if (results.every((r) => r.type === "success")) {
66
+ this.pendingLargeFileRepair = false;
67
+ }
68
return undefined;
69
}
70
return this.tryPostDraft("large_file_post_draft_repair");
0 commit comments