fix: align default task profiles with runtime prompt blocks

This commit is contained in:
Youzini-afk
2026-03-27 03:34:47 +08:00
parent 7417eb1cbc
commit 88db5d95ea
7 changed files with 572 additions and 102 deletions

View File

@@ -51,7 +51,7 @@ const activeProfile = getActiveTaskProfile(
"extract",
);
assert.equal(activeProfile.name, "激进提取");
assert.equal(activeProfile.blocks.length, 9);
assert.equal(activeProfile.blocks.length, 13);
const builtinBlock = activeProfile.blocks.find(
(block) => block.type === "builtin" && block.sourceKey === "userMessage",
);