@if (task(); as task) {

{{ task.name }}

{{ task.scheduleDescription }}

} @if (conversation()?.id) { @if (parameters()?.length) { } } @for (message of messages(); track message.id) {
@switch (message.role) { @case ('user') { } @case ('human') { } @case ('assistant') { } @case ('ai') { } }
} @empty { @if (!loadingConv() && xpert()) {

{{ xpert().title || xpert().name }}

{{ xpert().description }}

@for (statement of xpert().starters; track statement) { @if (statement) { } }
@if (parameters()?.length) { }
} } @if (quoteSelection(); as selection) { } @if (suggestion_enabled()) { @if (suggesting()) {
{{ 'PAC.Xpert.Suggesting' | translate: { Default: 'Suggesting' } }}...
} @else if (suggestionQuestions()?.length) {
{{ 'PAC.Xpert.TryAsking' | translate: { Default: 'Try asking' } }}
@for (question of suggestionQuestions(); track question) { }
} } @if (conversationStatus() === eExecutionStatusEnum.ERROR) {
{{ error() }}
} @if (conversationStatus() === eExecutionStatusEnum.INTERRUPTED && operation() && showOperationPanel()) { }