Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(test): 修复 predictPromptIpcBoundary 测试中 agentKind 不匹配导致

Shinku9d9eab0d3293
diff --git a/apps/desktop/src/main/maker-ipc/__tests__/predictPromptIpcBoundary.test.ts b/apps/desktop/src/main/maker-ipc/__tests__/predictPromptIpcBoundary.test.ts
index e1dd7ae554..23f5b32c78 100644
--- a/apps/desktop/src/main/maker-ipc/__tests__/predictPromptIpcBoundary.test.ts
+++ b/apps/desktop/src/main/maker-ipc/__tests__/predictPromptIpcBoundary.test.ts
@@ -245,6 +245,7 @@ describe('maker:predict-prompt — payload 运行期校验', () => {
});
it('有效 payload 截断后传递', async () => {
+ h.sessionRow = { remoteHostId: null, agentKind: 'pi' };
await invokePredict({
sessionId: 'session-1',
agentKind: 'pi',