🤯 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
refactor(memory-user-memory,userMemories): split chat topic related operations into dedicated pipelines sub-route (#10907)
Neko4e65f11ab505
diff --git a/src/app/(backend)/api/workflows/memory-user-memory/pipelines/process-topic/route.ts b/src/app/(backend)/api/workflows/memory-user-memory/pipelines/chat-topic/process-topic/route.tssimilarity index 100%rename from src/app/(backend)/api/workflows/memory-user-memory/pipelines/process-topic/route.tsrename to src/app/(backend)/api/workflows/memory-user-memory/pipelines/chat-topic/process-topic/route.tsdiff --git a/src/app/(backend)/api/workflows/memory-user-memory/pipelines/process-user-topics/route.ts b/src/app/(backend)/api/workflows/memory-user-memory/pipelines/chat-topic/process-user-topics/route.tssimilarity index 100%rename from src/app/(backend)/api/workflows/memory-user-memory/pipelines/process-user-topics/route.tsrename to src/app/(backend)/api/workflows/memory-user-memory/pipelines/chat-topic/process-user-topics/route.tsdiff --git a/src/app/(backend)/api/workflows/memory-user-memory/pipelines/process-users/route.ts b/src/app/(backend)/api/workflows/memory-user-memory/pipelines/chat-topic/process-users/route.tssimilarity index 100%rename from src/app/(backend)/api/workflows/memory-user-memory/pipelines/process-users/route.tsrename to src/app/(backend)/api/workflows/memory-user-memory/pipelines/chat-topic/process-users/route.tsdiff --git a/src/server/services/memory/userMemory/extract.ts b/src/server/services/memory/userMemory/extract.tsindex d45a43aaa45..bc96ce73c6d 100644--- a/src/server/services/memory/userMemory/extract.ts+++ b/src/server/services/memory/userMemory/extract.ts@@ -1549,9 +1549,9 @@ export class MemoryExtractionExecutor {}const WORKFLOW_PATHS = {- topicBatch: '/api/workflows/memory-user-memory/pipelines/process-topic',- userTopics: '/api/workflows/memory-user-memory/pipelines/process-user-topics',- users: '/api/workflows/memory-user-memory/pipelines/process-users',+ topicBatch: '/api/workflows/memory-user-memory/pipelines/chat-topic/process-topic',+ userTopics: '/api/workflows/memory-user-memory/pipelines/chat-topic/process-user-topics',+ users: '/api/workflows/memory-user-memory/pipelines/chat-topic/process-users',} as const;const getWorkflowUrl = (path: string, baseUrl: string) => {