0.11.0 退役老预设线:workbench/host/routes.mjs

This commit is contained in:
QQ 2026-11-10 22:25:18 +08:00
parent f15e7d112c
commit e42896c9c5
1 changed files with 3 additions and 0 deletions

View File

@ -366,6 +366,7 @@ export function buildRouteTable(service, options = {}) {
handler: async ({ body }) => service.getMemory({ handler: async ({ body }) => service.getMemory({
scope: body.scope, scope: body.scope,
projectId: select(body), projectId: select(body),
roleId: body.roleId,
}), }),
}, },
[`${ROUTE_PREFIX}/memory/put`]: { [`${ROUTE_PREFIX}/memory/put`]: {
@ -373,6 +374,7 @@ export function buildRouteTable(service, options = {}) {
handler: async ({ body }) => service.putMemory({ handler: async ({ body }) => service.putMemory({
scope: body.scope, scope: body.scope,
projectId: select(body), projectId: select(body),
roleId: body.roleId,
text: body.text, text: body.text,
}), }),
}, },
@ -381,6 +383,7 @@ export function buildRouteTable(service, options = {}) {
handler: async ({ body }) => service.appendMemory({ handler: async ({ body }) => service.appendMemory({
scope: body.scope, scope: body.scope,
projectId: select(body), projectId: select(body),
roleId: body.roleId,
text: body.text, text: body.text,
}), }),
}, },