🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
✅ test(agent): stub runFacts.userPreference in the installed-plugin discovery tests (#20839)
Arvin Xu764eff993515
diff --git a/apps/server/src/services/aiAgent/pipeline/__tests__/toolDiscovery.installedPlugins.test.ts b/apps/server/src/services/aiAgent/pipeline/__tests__/toolDiscovery.installedPlugins.test.tsindex a6dcff7419c..5e4e67a979f 100644--- a/apps/server/src/services/aiAgent/pipeline/__tests__/toolDiscovery.installedPlugins.test.ts+++ b/apps/server/src/services/aiAgent/pipeline/__tests__/toolDiscovery.installedPlugins.test.ts@@ -100,7 +100,10 @@ const run = (options: RunOptions = {}) => {prompt: 'send a message to the team chat',provider: 'test-provider',resolvedAgentId: 'agent-1',- runFacts: { deviceSystemInfo: vi.fn().mockResolvedValue(undefined) },+ runFacts: {+ deviceSystemInfo: vi.fn().mockResolvedValue(undefined),+ userPreference: vi.fn().mockResolvedValue(undefined),+ },shareGate: undefined,} as never,{