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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. 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, "这是发言者的真实身份:");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-satori-ai",
3
3
  "description": "适用于satori适配器的ai对话,具有长期记忆、常识写入和好感度功能",
4
- "version": "1.0.13",
4
+ "version": "1.0.14",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "types": "lib/index.d.ts",