chatccc 0.2.67 → 0.2.68
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
|
@@ -146,7 +146,7 @@ describe("handleCommand WeChat processing ack", () => {
|
|
|
146
146
|
expect(platform.sendCard).toHaveBeenCalledWith(
|
|
147
147
|
"wx-chat",
|
|
148
148
|
"生成中",
|
|
149
|
-
"
|
|
149
|
+
"该会话正在生成回复中,请等待完成后再发送新消息。也可以发送 /stop 结束,已完成的步骤不会丢失。",
|
|
150
150
|
"yellow",
|
|
151
151
|
);
|
|
152
152
|
});
|
package/src/orchestrator.ts
CHANGED
package/src/session.ts
CHANGED
|
@@ -685,8 +685,8 @@ export async function runAgentSession(
|
|
|
685
685
|
console.log(`[${ts()}] [BLOCKED] Session ${sessionId} is already generating`);
|
|
686
686
|
const isWechatBusy = platform.kind === "wechat";
|
|
687
687
|
const busyMsg = isWechatBusy
|
|
688
|
-
? "
|
|
689
|
-
: "
|
|
688
|
+
? "当前正在生成回复中,请等待完成后再发送消息。也可以发送 /stop 结束,已完成的步骤不会丢失。"
|
|
689
|
+
: "该会话正在生成回复中,请等待完成后再发送消息。也可以发送 /stop 结束,已完成的步骤不会丢失。";
|
|
690
690
|
await platform.sendText(_chatId, busyMsg).catch(() => {});
|
|
691
691
|
return;
|
|
692
692
|
}
|