feat(audit): feedback visual animado de carregamento na fila do provedor LLM
This commit is contained in:
@@ -194,7 +194,7 @@ export default function AuditPanel() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{(status === 'running' || status === 'generating') && total > 0 && (
|
{(status === 'running' || status === 'generating') && total > 0 && (
|
||||||
<div className="space-y-1">
|
<div className="space-y-2">
|
||||||
<div className="flex justify-between text-xs text-muted-foreground">
|
<div className="flex justify-between text-xs text-muted-foreground">
|
||||||
<span>{status === 'generating' ? 'Gerando cenários...' : `Processando cenários...`}</span>
|
<span>{status === 'generating' ? 'Gerando cenários...' : `Processando cenários...`}</span>
|
||||||
<span>{progress} / {total}</span>
|
<span>{progress} / {total}</span>
|
||||||
@@ -205,6 +205,9 @@ export default function AuditPanel() {
|
|||||||
style={{ width: `${(progress / total) * 100}%` }}
|
style={{ width: `${(progress / total) * 100}%` }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="text-xs text-muted-foreground animate-pulse text-center">
|
||||||
|
Aguardando resposta do modelo para o lote atual... (pode demorar alguns segundos)
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user