Skip to content

Commit 8500775

Browse files
Remove truncation from timeline chart event details
Previously, agent responses in the event details box were truncated to 1000 characters with a "[Truncated]" message. This change removes the truncation logic to show all lines of the agent response. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent e79a125 commit 8500775

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

web/src/app/admin/traces/components/timeline-chart.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,7 @@ export function TimelineChart({
572572
</h4>
573573
<div className="bg-muted p-3 rounded overflow-auto max-h-96">
574574
<pre className="text-xs whitespace-pre-wrap">
575-
{responseContent.length > 1000
576-
? responseContent.substring(0, 1000) +
577-
'...\n\n[Truncated - showing first 1000 characters]'
578-
: responseContent}
575+
{responseContent}
579576
</pre>
580577
</div>
581578
</div>

0 commit comments

Comments
 (0)