Skip to content

🤯 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.

🔨 chore(userMemories): should have slug for process-topic endpoint (#12135)

Neko20029a7820c8
diff --git a/src/server/services/memory/userMemory/extract.ts b/src/server/services/memory/userMemory/extract.ts
index 3c123f080d0..7696408fc9e 100644
--- a/src/server/services/memory/userMemory/extract.ts
+++ b/src/server/services/memory/userMemory/extract.ts
@@ -2177,7 +2177,9 @@ export class MemoryExtractionExecutor {
const WORKFLOW_PATHS = {
personaUpdate: '/api/workflows/memory-user-memory/pipelines/persona/update-writing',
- topic: '/api/workflows/memory-user-memory/pipelines/chat-topic/process-topic',
+ // process-topic is exposed via serveMany under a catch-all route, so it requires the extra slug
+ // segment to reach the actual workflow handler.
+ topic: '/api/workflows/memory-user-memory/pipelines/chat-topic/process-topic/process-topic',
topicBatch: '/api/workflows/memory-user-memory/pipelines/chat-topic/process-topics',
userTopics: '/api/workflows/memory-user-memory/pipelines/chat-topic/process-user-topics',
users: '/api/workflows/memory-user-memory/pipelines/chat-topic/process-users',