@if (content(); as content) { @switch (content.type) { @case ('text') { @if (content.id && collapse()) {
{{ content.text }}
} @else {
@for (text of frozenBlocks(); track text) { } @if (streaming(); as text) { }
{{ content.created_date | relative }}
} @if (!last() && content.agentKey && !collapse()) {

} } @case ('reasoning') { } @case ('component') { @if (content.data.category === 'Tool' && content.data.type === contextCompressionComponentType) { } @else { @switch (content.data.category) { @case ('Dashboard') { } @default { } } } } } }