fix: reset sessions after role ordering conflicts

This commit is contained in:
Peter Steinberger
2026-01-16 09:03:54 +00:00
parent 6c6bc6ff1c
commit 9838a2850f
7 changed files with 173 additions and 1 deletions

View File

@@ -274,6 +274,8 @@ export async function runEmbeddedPiAgent(
provider,
model: model.id,
},
systemPromptReport: attempt.systemPromptReport,
error: { kind: "role_ordering", message: errorText },
},
};
}