@if (usage) {
@if (usageHasMax) {
}
Contexte : {{ usageTotal }}@if (usageHasMax) {
/ {{ usage.max }}
} tokens
@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) {
Suggestions rapides :
@for (s of quickSuggestions; track s) {
}
}