@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) {
}
}