feat: raise agent instruction size limit
This commit is contained in:
@@ -357,11 +357,11 @@ stack:
|
||||
|
||||
test("fails instead of truncating output above the hard size limit", async (t) => {
|
||||
const { harnessRoot, appRoot } = await createFixture(t);
|
||||
await writeText(path.join(appRoot, ".agent", "project.md"), `## Project Rule\n\n${"x".repeat(31_000)}\n`);
|
||||
await writeText(path.join(appRoot, ".agent", "project.md"), `## Project Rule\n\n${"x".repeat(33_000)}\n`);
|
||||
|
||||
await assert.rejects(
|
||||
() => planProject(harnessRoot, "sample-front"),
|
||||
/exceeds the 30720-byte limit/,
|
||||
/exceeds the 32000-byte limit/,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user