mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-15 08:16:38 +00:00
Keep trace summaries from breaking Logs and fix their counts
A failed trace-summary lookup now leaves the Logs page intact without chips. Tool-call counts include only calls that ran, not their paused, denied or skipped records. A local guardrail that fires unchanged on every streamed segment is recorded once, so it cannot use up the span cap.
This commit is contained in:
1 parent
24796ae61f
commit
9f7f0b2f1e
7 files changed
+134
-19
No files matched your search
@@ -43,6 +43,7 @@ from docsgpt.tracing.core import (
|
||||
bind,
|
||||
bind_if_unset,
|
||||
current_trace,
|
||||
first_occurrence,
|
||||
mark_content_blocked,
|
||||
span,
|
||||
start_span,
|
||||
@@ -78,6 +79,7 @@ __all__ = [
|
||||
"bind_if_unset",
|
||||
"current_trace",
|
||||
"discard",
|
||||
"first_occurrence",
|
||||
"flush",
|
||||
"mark_content_blocked",
|
||||
"span",
|
||||
|
||||
Reference in new issue
Block a user