From 5d0f00e4bf11081b3137b6d582cf9bd451aa6c3e Mon Sep 17 00:00:00 2001 From: Alexander Kadyrov Date: Wed, 20 Nov 2024 02:39:12 +0400 Subject: [PATCH] Cleanup after recent changes --- src/app/concepts/[id]/ReportPage.tsx | 2 +- src/concept/adapters/OpenAIService/ConceptEvaluator.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/concepts/[id]/ReportPage.tsx b/src/app/concepts/[id]/ReportPage.tsx index c71ba31..5c8bf01 100644 --- a/src/app/concepts/[id]/ReportPage.tsx +++ b/src/app/concepts/[id]/ReportPage.tsx @@ -16,7 +16,7 @@ interface Props { concept: Concept } -const reloadInterval = 500000 +const reloadInterval = 5000 const ReportPage = ({ concept }: Props) => { const router = useRouter() diff --git a/src/concept/adapters/OpenAIService/ConceptEvaluator.ts b/src/concept/adapters/OpenAIService/ConceptEvaluator.ts index 6bc9475..5cd728a 100644 --- a/src/concept/adapters/OpenAIService/ConceptEvaluator.ts +++ b/src/concept/adapters/OpenAIService/ConceptEvaluator.ts @@ -131,8 +131,6 @@ export class ConceptEvaluator { const problemEvaluation = message.parsed.problem_evaluation - console.log(JSON.stringify(problemEvaluation, null, 2)) - if (problemEvaluation.status === 'not-well-defined') { return { status: problemEvaluation.status,