Skip to main content

Module agent_debug

Module agent_debug 

Source
Expand description

Agent Debug NDJSON 日志

输出结构化调试日志到 agentlog/ 目录,用于 AI Agent 诊断和分析。 每行为一条 NDJSON (Newline Delimited JSON) 记录。

§日志格式

{"sessionId":"b75d44","hypothesisId":"E1","location":"episode_repo.rs:insert",
 "message":"episode inserted","data":{...},"timestamp":1710000000000,"runId":"pre-fix"}

Functions§

log
写入一条 Agent debug 日志