foliko 1.1.81 → 1.1.82

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foliko",
3
- "version": "1.1.81",
3
+ "version": "1.1.82",
4
4
  "description": "简约的插件化 Agent 框架",
5
5
  "main": "src/index.js",
6
6
  "type": "commonjs",
@@ -426,7 +426,7 @@ class WeixinPlugin extends Plugin {
426
426
  if(!cleanResponse(lineBuffer.value.trim())){
427
427
  const msg = '继续进行下一步';
428
428
  await agent.sendMessage(msg, { sessionId, priority: 1 });
429
- }else(lineBuffer.value.trim()) {
429
+ }else if(lineBuffer.value.trim()) {
430
430
  await this._sendMessageBatch(originalMsg, userId, lineBuffer.value.trim(), true);
431
431
  //log.debug(`[Queue] Remaining buffer: ${lineBuffer.value}`);
432
432
  }