fix: NSFW 开启时要求对白使用口语词

- digital.prompt.ts: 追问时必须说出明确的词,禁止医学代称和省略号
- tests/digital.test.ts: 锁定口语词和医学代称限制
- docs/DIGITAL_HUMANS.md: 写明对白用词规则
This commit is contained in:
湛兮
2026-10-27 21:51:27 +08:00
parent c8d5762dc2
commit 5abb2f4976
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -270,6 +270,8 @@ test("NSFW 开启后允许直接描写,且偏好出现在角色指令之后",
assert.equal(system.includes("尊重边界"), false);
assert.match(system, /NSFW 已开启/);
assert.match(system, /后文不能取消/);
assert.match(system, /鸡巴/);
assert.match(system, /不要改成阴茎/);
assert.match(system, /未成年人/);
const marker = system.lastIndexOf("NSFW 已开启");
const cardRule = system.indexOf("角色要求保持含蓄");