@if (!isWide) {
} @if (persistent && sidebarOpen) {
{{ 'aiChatDrawer.conversations' | translate }}
    @if (conversations.length === 0) {
  • {{ 'aiChatDrawer.noConversation' | translate }}
  • } @for (c of conversations; track c) {
  • {{ c.title }}
  • }
}
@if (persistent) { }
@if (persistent && currentConversationId) { @if (!editingTitle) {

{{ currentTitle || ('aiChatDrawer.newConversation' | translate) }}

} @else { } } @else {

{{ 'aiChatDrawer.title' | translate }}

}
@if (usage) {
@if (usageHasMax) {
}
@if (usageHasMax) { {{ 'aiChatDrawer.gaugeLabelMax' | translate:{ total: usageTotal, max: usage.max } }} } @else { {{ 'aiChatDrawer.gaugeLabel' | translate:{ total: usageTotal } }} } @if (usageHasMax) { {{ usagePercent }}% }
}
@if (messages.length === 0 && !currentAssistantText) {
} @for (m of messages; track m) { @if (m.role === 'user') {
{{ m.content }}
} @if (m.role === 'assistant') {
} } @if (currentAssistantText) {
} @if (isStreaming && !currentAssistantText) {
} @if (errorMessage) {
{{ errorMessage }}
}
@if (primaryAction) {
} @if (quickSuggestions.length) {

{{ 'aiChatDrawer.quickSuggestions' | translate }}

@for (s of quickSuggestions; track s) { }
}