Deploy Inicial do SteelCheck com Docker Build Automatizado

This commit is contained in:
2026-06-22 23:02:27 +00:00
parent 7126789557
commit 4aa3febfa8
3 changed files with 11 additions and 4 deletions
+5 -1
View File
@@ -27,7 +27,11 @@ const TableRow: React.FC<{item: ComplianceItem}> = ({item}) => (
) )
export const PrintableReport: React.FC<PrintableReportProps> = ({ report }) => { export const PrintableReport: React.FC<PrintableReportProps> = ({ report }) => {
const { identification, compliance, overPerformance, equivalents, confidence } = report; const identification = report?.identification || {};
const compliance = report?.compliance || { status: 'NÃO CONFORME', mechanical: [], chemical: [], otherTests: [] };
const overPerformance = report?.overPerformance || [];
const equivalents = report?.equivalents || [];
const confidence = report?.confidence || 0;
const jsonData = JSON.stringify(report); const jsonData = JSON.stringify(report);
return ( return (
+5 -1
View File
@@ -52,7 +52,11 @@ const ComplianceTableRow: React.FC<{ item: ComplianceItem; headerLabel: string }
); );
export const ReportDisplay: React.FC<ReportDisplayProps> = ({ report }) => { export const ReportDisplay: React.FC<ReportDisplayProps> = ({ report }) => {
const { identification, compliance, overPerformance, equivalents, confidence } = report; const identification = report?.identification || {};
const compliance = report?.compliance || { status: 'NÃO CONFORME', mechanical: [], chemical: [], otherTests: [] };
const overPerformance = report?.overPerformance || [];
const equivalents = report?.equivalents || [];
const confidence = report?.confidence || 0;
return ( return (
<div className="space-y-8 animate-fade-in pb-12"> <div className="space-y-8 animate-fade-in pb-12">
+1 -2
View File
@@ -462,8 +462,7 @@ export const analyzeWithOpenRouter = async (file: File, apiKey: string, model: s
] ]
} }
], ],
temperature: 0.1, temperature: 0.1
response_format: { type: 'json_object' }
}) })
}); });