ref(traces): Remove stats header and hide empty Transcript tabs in AI trace view#119108
Draft
obostjancic wants to merge 1 commit into
Draft
ref(traces): Remove stats header and hide empty Transcript tabs in AI trace view#119108obostjancic wants to merge 1 commit into
obostjancic wants to merge 1 commit into
Conversation
… trace view Remove the LLM Calls / Errors / Tokens / Cost stats bar that appeared above the tabs when viewing a conversation in the traces AI tab. Only show Transcript tabs for conversations whose spans actually have input/output messages. Conversations without message content (no gen_ai.input/output attributes) no longer get a tab, avoiding an empty "No chat messages" state. Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
50ee453 to
ef59184
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The LLM Calls / Errors / Tokens / Cost stats bar above the conversation tabs in the traces AI view is removed — it duplicated information already shown in the timeline spans.
Transcript tabs are now only rendered for conversations whose spans have actual input/output messages (
gen_ai.input.messages/gen_ai.output.messages). Conversations without message content no longer produce a tab, so users never land on an empty "No chat messages" state. The check runs against the trace's AI nodes usingextractMessagesFromNodesbefore building the tab list.