🐛 fix(userMemories): 404/405 issue due to incorrectly used workflow name and mounted catch-all route (#10995)

This commit is contained in:
Neko
2025-12-26 19:21:19 +08:00
committed by GitHub
parent 6592d10b1d
commit 45996c6f23
2 changed files with 4 additions and 4 deletions
@@ -101,7 +101,7 @@ export const { POST } = serve<MemoryExtractionPayloadInput>(async (context) => {
userId,
userIds: [userId],
},
workflow: orchestratorWorkflow
workflow: orchestratorWorkflow,
}
),
),
@@ -1768,9 +1768,9 @@ const WORKFLOW_PATHS = {
} as const;
export const TOPIC_WORKFLOW_NAMES = {
cep: 'memory:user-memory:extract:users:topics:extract-layers:cep',
identity: 'memory:user-memory:extract:users:topics:extract-layers:identity',
orchestrator: 'memory:user-memory:extract:users:topics:extract-layers:orchestrator',
cep: 'process-topics/extract-layers/cep',
identity: 'process-topics/extract-layers/identity',
orchestrator: 'process-topics/extract-layers/orchestrator',
} as const;
const getWorkflowUrl = (path: string, baseUrl: string) => {