@if ($task->skip_reason)
Skip reason
{{ $task->skip_reason }}
@endif
@if ($task->error_message)
Error
{{ $task->error_message }}
@endif
@php $output = $task->output_payload ?? []; @endphp
@if (! empty($output['text']))
Output
{{ $output['text'] }}
@endif
@php $structured = collect($output)->except('text')->all(); @endphp
@if (! empty($structured))
Structured
{{ json_encode($structured, JSON_PRETTY_PRINT) }}
@endif