refactor(dashboard): default expanded LLM call to raw JSON, show thinking text inline#1017
Merged
zbigniewsobiecki merged 1 commit intodevfrom Mar 23, 2026
Merged
Conversation
… thinking inline - LlmCallDetail now defaults to raw JSON view (showRaw=true); structured view remains accessible via the toggle. Raw JSON is the unique content that isn't already visible in the list row, so it should be the default. - Remove redundant metadata bar from detail panel (model/tokens/cost/time are already shown in the list columns). - listLlmCalls API now also returns thinkingPreview (first 200 chars of thinking text, concatenated across blocks) alongside thinkingChars. - List row Activity column shows the actual thinking text truncated, with char count suffix when the full text exceeds 200 chars, instead of just "thinking (N chars)". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
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.
Summary
LlmCallDetailnow opens in raw view (showRaw=true). The structured parsed view is still accessible via the toggle, but the raw JSON is what's worth expanding to see (tool inputs untruncated, full response structure), whereas the structured summary is already visible inline in the list row.listLlmCallsAPI now returnsthinkingPreview(first 200 chars of thinking text). The Activity column now shows the actual thinking content truncated, with(N chars)suffix when the full text exceeds 200 chars, instead of the opaque "thinking (N chars)" placeholder.Test plan
npm run lint— cleannpm run typecheck— cleannpm test— all pass🤖 Generated with Claude Code