fix: wrap long log messages in agent pipeline log sheet (#17782)

This commit is contained in:
euvre
2026-08-11 01:08:43 -07:00
committed by GitHub
parent dd52dee600
commit 82d038543a

View File

@@ -90,10 +90,12 @@ export function DataflowTimeline({ traceList }: DataflowTimelineProps) {
key={idx}
className="text-text-secondary text-xs space-x-2 py-2.5 !m-0"
>
<span>{x.datetime}</span>
<span className="whitespace-nowrap">
{x.datetime}
</span>
{item.component_id !== 'END' && (
<span
className={cn({
className={cn('break-all', {
'text-state-error':
x.message.startsWith('[ERROR]'),
})}
@@ -101,7 +103,7 @@ export function DataflowTimeline({ traceList }: DataflowTimelineProps) {
{x.message}
</span>
)}
<span>
<span className="whitespace-nowrap">
{x.elapsed_time.toString().slice(0, 6)}s
</span>
</section>