feat: add analysisSource flag to show if local DB or neural network was used

This commit is contained in:
2026-06-23 20:56:35 +00:00
parent bec18d6fc2
commit 9d44b4cc1c
3 changed files with 11 additions and 1 deletions
+5
View File
@@ -64,6 +64,11 @@ export const ReportDisplay: React.FC<ReportDisplayProps> = ({ report }) => {
<div className="mt-0.5 bg-slate-50 dark:bg-slate-800/50 border border-slate-200 dark:border-slate-700 text-slate-700 dark:text-slate-300 px-2.5 py-1 rounded-full text-[10px] font-bold">
{confidence}% <span className="text-[8px] text-slate-400 dark:text-slate-500 font-normal">IA-Score</span>
</div>
{report.analysisSource && (
<span className="text-[7px] text-slate-400 mt-1 uppercase tracking-widest" title="Origem dos parâmetros de conformidade usados pela IA">
{report.analysisSource === 'Banco Local' ? '🏦 Banco Local' : '🧠 Rede Neural'}
</span>
)}
</div>
</div>
</div>