mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
feat: 默认预设增加4个builtin块(角色描述/用户设定/世界书前后)
This commit is contained in:
@@ -520,6 +520,54 @@ export function createDefaultTaskProfile(taskType) {
|
||||
injectionMode: "append",
|
||||
order: 0,
|
||||
},
|
||||
{
|
||||
id: "default-char-desc",
|
||||
name: "角色描述",
|
||||
type: "builtin",
|
||||
enabled: true,
|
||||
role: "system",
|
||||
sourceKey: "charDescription",
|
||||
sourceField: "",
|
||||
content: "",
|
||||
injectionMode: "append",
|
||||
order: 1,
|
||||
},
|
||||
{
|
||||
id: "default-user-persona",
|
||||
name: "用户设定",
|
||||
type: "builtin",
|
||||
enabled: true,
|
||||
role: "system",
|
||||
sourceKey: "userPersona",
|
||||
sourceField: "",
|
||||
content: "",
|
||||
injectionMode: "append",
|
||||
order: 2,
|
||||
},
|
||||
{
|
||||
id: "default-wi-before",
|
||||
name: "世界书前块",
|
||||
type: "builtin",
|
||||
enabled: true,
|
||||
role: "system",
|
||||
sourceKey: "worldInfoBefore",
|
||||
sourceField: "",
|
||||
content: "",
|
||||
injectionMode: "append",
|
||||
order: 3,
|
||||
},
|
||||
{
|
||||
id: "default-wi-after",
|
||||
name: "世界书后块",
|
||||
type: "builtin",
|
||||
enabled: true,
|
||||
role: "system",
|
||||
sourceKey: "worldInfoAfter",
|
||||
sourceField: "",
|
||||
content: "",
|
||||
injectionMode: "append",
|
||||
order: 4,
|
||||
},
|
||||
{
|
||||
id: "default-format",
|
||||
name: "输出格式",
|
||||
@@ -530,7 +578,7 @@ export function createDefaultTaskProfile(taskType) {
|
||||
sourceField: "",
|
||||
content: defaults.format || "",
|
||||
injectionMode: "append",
|
||||
order: 1,
|
||||
order: 5,
|
||||
},
|
||||
{
|
||||
id: "default-rules",
|
||||
@@ -542,7 +590,7 @@ export function createDefaultTaskProfile(taskType) {
|
||||
sourceField: "",
|
||||
content: defaults.rules || "",
|
||||
injectionMode: "append",
|
||||
order: 2,
|
||||
order: 6,
|
||||
},
|
||||
],
|
||||
generation: {
|
||||
|
||||
Reference in New Issue
Block a user