@if (messages.length === 0 && !currentAssistantText && !error) {

{{ 'sessionAiChatPanel.welcome' | translate }}

{{ 'sessionAiChatPanel.welcomeSub' | translate }}

} @for (m of messages; track m) {
{{ m.content }}
@if (m.role === 'assistant') { }
} @if (currentAssistantText) {
{{ currentAssistantText }}
} @if (error) {

{{ error }}

}
@if (!isStreaming) { } @if (isStreaming) { }