{{ title() }}
@if (showExecution()) {
@if (expandExecutions()) { } @else { }
{{ 'PAC.Xpert.Executions' | translate: { Default: 'Executions' } }}
@if (expandExecutions()) { @if (loadingExecutions()) { } @for (execution of executions$ | async; track execution.id) { } } @else { @for (execution of executings(); track execution.id) { } }
} @if (reasoning()) { } @if (renderTree().hasAgentRuns) { } @else { @for (submessage of contents(); track submessage.id; let i = $index; let last = $last) { @if (!isContextCompressionContent(submessage)) { } } } @if (!renderTree().hasAgentRuns && contentStr()) { } @for (unit of units; track trackAgentRenderUnit($index, unit); let i = $index; let last = $last) { @if (unit.type === 'entry') { @let entry = $any(unit).entry; @if (entry.source === 'content') { @let contentValue = entryContent(entry); @let entryId = entryContentId(entry); @if (depth === 0 && !isContextCompressionContent(contentValue)) { } } @else if (entry.source === 'reasoning') { } @else { @let event = agentEvent(entry);
{{ agentEventLabel(event) }}
@if (agentEventDetail(event); as detail) {
{{ detail }}
} @if (event.error) {

    {{ event.error }}

}
} } @else { @let node = $any(unit).node; @let expanded = isAgentRunExpanded(node, !last);
@if (expanded) {
@if (agentRunError(node); as error) {

    {{ error }}

}
}
} }
@if (answering()) { } @if (lastStep(); as event) {
{{ event.title }} @if (event.message) { : {{ event.message }} }
}
@if (feedbackReady()) { @if (getFeedback(message().id); as feedback) { @if (feedback.rating === eFeedbackRatingEnum.LIKE) {
} @else if (feedback.rating === eFeedbackRatingEnum.DISLIKE) {
} } @else {
} } @if (textToSpeech_enabled()) {
@if (synthesizeLoading() || isPlaying()) { } @else { }
}