We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fba901 commit 57566b5Copy full SHA for 57566b5
apps/memos-local-openclaw/index.ts
@@ -928,7 +928,7 @@ const memosLocalPlugin = {
928
929
// ─── Auto-recall: inject relevant memories before agent starts ───
930
931
- api.on("before_agent_start", async (event: { prompt?: string; messages?: unknown[] }, hookCtx?: { agentId?: string; sessionKey?: string }) => {
+ api.on("before_prompt_build", async (event: { prompt?: string; messages?: unknown[] }, hookCtx?: { agentId?: string; sessionKey?: string }) => {
932
if (!allowPromptInjection) return {};
933
if (!event.prompt || event.prompt.length < 3) return;
934
0 commit comments