Skip to main content

Module debug_dump

Module debug_dump 

Source
Expand description

Debug dump writer for a single agent session.

When active, every LLM request/response pair and raw tool output is written to numbered files in a timestamped subdirectory of the configured output directory. Intended for context debugging only — do not use in production.

Modules§

trace
OpenTelemetry-compatible trace collector for debug sessions.

Structs§

DebugDumper
Cloneable debug dump writer; clones share the same atomic counter.
PiiScrubbingDumpSink
Wraps a DebugDumper with a zeph_sanitizer::pii::PiiFilter so sub-agent-executed LLM calls get the same optional PII-redaction layer top-level dumps receive via DebugState::write_chat_debug_dump — the baseline scrub_content/redact_binary_blobs pass inside DebugDumper::dump_response always applies, but the extra PiiFilter.scrub() layer is opt-in per config and was previously only wired into the top-level path (#6407).
RequestDebugDump

Enums§

DumpFormat
Output format for debug dump files.