Atualizacoes: Novo modo leitura de Parecer, campo instrucao agora é opcional, campo do agente do parecer pode ser recolhido, ajuste na cor do botão de agente de prompt

This commit is contained in:
Vitex Tecnologia
2026-04-14 14:42:33 -03:00
parent 8f2e4f1d21
commit 7a01c6f97b
8 changed files with 608 additions and 39 deletions
+1 -5
View File
@@ -6,7 +6,7 @@ export interface GerarParecerParams {
area_id: string;
prompt_id?: string;
prompt: string;
instrucao: string;
instrucao?: string;
anexo?: File | null;
}
@@ -204,10 +204,6 @@ class ParecerService {
throw new Error("Prompt é obrigatório");
}
if (!params.instrucao?.trim()) {
throw new Error("Instrução é obrigatória");
}
const userEmail = GlobalFunctions.getTransferProperty(
TransferAreaProperties.UsuarioEmail
);