Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(bots): align settings fixtures and learning expectations
Chriseed68888084d
diff --git a/apps/desktop/src/main/maker-ipc/__tests__/botProfileRuntime.test.ts b/apps/desktop/src/main/maker-ipc/__tests__/botProfileRuntime.test.tsindex 70b57164e1..bc3e3eafc1 100644--- a/apps/desktop/src/main/maker-ipc/__tests__/botProfileRuntime.test.ts+++ b/apps/desktop/src/main/maker-ipc/__tests__/botProfileRuntime.test.ts@@ -112,7 +112,8 @@ describe('Bot Profile runtime prompt', () => {expect(prompt).toContain('Respect the user’s memory switch');expect(prompt).toContain('without waiting for a request to remember');expect(prompt).toContain('One verified reusable success is enough');- expect(prompt).toContain('not an extra learning model or background review worker');+ expect(prompt).toContain('the host also reviews the completed reply for missed learning');+ expect(prompt).toContain('Do not launch a separate review task yourself');expect(prompt).toContain('never for a one-off conclusion');});diff --git a/apps/desktop/src/renderer/features/bots/__tests__/botSettings.test.tsx b/apps/desktop/src/renderer/features/bots/__tests__/botSettings.test.tsxindex 14682c0d2b..7fb41f5439 100644--- a/apps/desktop/src/renderer/features/bots/__tests__/botSettings.test.tsx+++ b/apps/desktop/src/renderer/features/bots/__tests__/botSettings.test.tsx@@ -238,7 +238,7 @@ beforeEach(() => {] }));(window as unknown as { electronAPI: unknown }).electronAPI = {openPath: mocks.openPath,- localDb: { sessionsPush: { onPatched: mocks.onSessionPatched } },+ localDb: { sessionsPush: { onPatched: mocks.onSessionPatched }, bots: { listSkills: vi.fn().mockResolvedValue([]) } },maker: {onMcpChanged: mocks.onMcpChanged,listAgentSkills: mocks.listAgentSkills,