Add the per-request trace recorder

docsgpt.tracing records agent, LLM, tool, retrieval and embedding spans in
memory and writes the finished trace once. Container spans nest by a
per-thread stack so suspended generators cannot corrupt the tree; open
spans are cancelled at flush and previews are bounded and redacted.
This commit is contained in:
arc53-machine committed 2026-09-23 17:19:54 +01:00
1 parent f3f817b1e8
commit 3f45d019b0
6 files changed
+1124

No files matched your search

View File
Whitespace-only changes.