From abc5cf595220ba448e807438864b479617a551ef Mon Sep 17 00:00:00 2001 From: jenstandstad Date: Thu, 23 Apr 2026 18:01:13 +0200 Subject: [PATCH] Add debug --- plugins/festinger/festinger/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/festinger/festinger/main.py b/plugins/festinger/festinger/main.py index 3072764..4c51d85 100644 --- a/plugins/festinger/festinger/main.py +++ b/plugins/festinger/festinger/main.py @@ -896,6 +896,12 @@ async def process_prompt( if not block: return body + salient_tokens = [cache.soas_by_id.get(cid, str(cid)) for cid in salient_for_read] + log.info( + "recollection fired | agent=%s salient=%s\n%s", + agent_name or "(none)", salient_tokens, block, + ) + # 6. Inject into messages if path == "/api/chat" or path == "/v1/chat/completions": body = dict(body)