🤯 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
🐛 fix(agent-signal): avoid blocking agent execution (#14775)
Neko7b136a210fa3
diff --git a/src/server/services/aiAgent/index.ts b/src/server/services/aiAgent/index.tsindex c8284f2bc62..2494d6b17d6 100644--- a/src/server/services/aiAgent/index.ts+++ b/src/server/services/aiAgent/index.ts@@ -1663,7 +1663,11 @@ export class AiAgentService {});if (userMessageRecord) {log('execAgent: created user message %s', userMessageRecord.id);- await enqueueAgentSignalSourceEvent(+ // Agent Signal is a governance side-channel for feedback and self-iteration.+ // It must not block the primary agent execution path; local Workflow/QStash+ // stalls would otherwise leave the conversation with only the user message+ // persisted and no assistant placeholder or operation row.+ void enqueueAgentSignalSourceEvent({payload: {agentId: resolvedAgentId,@@ -1680,7 +1684,9 @@ export class AiAgentService {agentId: resolvedAgentId,userId: this.userId,},- );+ ).catch((error) => {+ log('execAgent: failed to enqueue user message Agent Signal source event: %O', error);+ });}// 14. Create assistant message placeholder in database