koishi-plugin-satori-ai 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -374,9 +374,9 @@ var SAt = class extends Sat {
|
|
|
374
374
|
${this.pluginConfig.prompt_4}
|
|
375
375
|
`;
|
|
376
376
|
}
|
|
377
|
-
this.personality["人格"][0].content += `发言者的名字: ${session.username},发言者的id:${session.userId}`;
|
|
378
377
|
logger.info(`名字: ${session.username}, 关系: ${level}`);
|
|
379
378
|
}
|
|
379
|
+
this.personality["人格"][0].content += `发言者的名字: ${session.username},发言者的id:${session.userId}`;
|
|
380
380
|
sortedMatches = searchKeywordsInFile(commonSenseFilePath, USERID);
|
|
381
381
|
if (sortedMatches.length > 0)
|
|
382
382
|
this.personality["人格"][0].content += appendTopMatches(commonSenseContent, sortedMatches, 1, "这是发言者的真实身份:");
|