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:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user