Add debug

This commit is contained in:
2026-04-23 18:01:13 +02:00
parent ff734fcea1
commit abc5cf5952
+6
View File
@@ -896,6 +896,12 @@ async def process_prompt(
if not block: if not block:
return body 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 # 6. Inject into messages
if path == "/api/chat" or path == "/v1/chat/completions": if path == "/api/chat" or path == "/v1/chat/completions":
body = dict(body) body = dict(body)