Add debug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user