fleet-memory/hindsight-integrations/openclaw/src
Nicolò Boschi 200bab233e
feat(openclaw): add recallInjectionPosition config to preserve prompt cache (#710)
* feat(openclaw): add recallInjectionPosition config to preserve prompt cache

Add configurable injection position for recalled memories to avoid
breaking prefix-based prompt caching (Anthropic/Google) when agents
have large static system prompts.

Options: 'prepend' (default, current behavior), 'append' (end of
system prompt, preserves cache), 'user' (before user message).

Closes #703

* docs(openclaw): document all plugin config flags

Add missing config options to the OpenClaw docs: recallTopK,
recallTypes, recallContextTurns, recallMaxQueryChars,
recallPromptPreamble, recallInjectionPosition, recallRoles,
retainEveryNTurns, retainOverlapTurns, and debug.
2026-03-26 16:09:25 +01:00
..
client.test.ts feat(openclaw): v2 recall/retention controls, scalability fixes, and Gemini safety settings (#480) 2026-03-05 16:55:16 +01:00
client.ts feat(openclaw): v2 recall/retention controls, scalability fixes, and Gemini safety settings (#480) 2026-03-05 16:55:16 +01:00
derive-bank-id.test.ts feat(openclaw): v2 recall/retention controls, scalability fixes, and Gemini safety settings (#480) 2026-03-05 16:55:16 +01:00
embed-manager.ts fix(openclaw): remove unused imports, retry health check, suppress unhandled rejection (#373) 2026-02-16 10:02:19 +01:00
index.test.ts feat(openclaw): v2 recall/retention controls, scalability fixes, and Gemini safety settings (#480) 2026-03-05 16:55:16 +01:00
index.ts feat(openclaw): add recallInjectionPosition config to preserve prompt cache (#710) 2026-03-26 16:09:25 +01:00
moltbot-types.ts fix: rename openclawd to openclaw (#252) 2026-01-30 13:04:42 +01:00
remote-no-llm.test.ts feat(openclaw): v2 recall/retention controls, scalability fixes, and Gemini safety settings (#480) 2026-03-05 16:55:16 +01:00
types.ts feat(openclaw): add recallInjectionPosition config to preserve prompt cache (#710) 2026-03-26 16:09:25 +01:00