diff --git a/features/truth-validation/semantic-service/src/llm-corrector.ts b/features/truth-validation/semantic-service/src/llm-corrector.ts index d088775a2..90704c0d2 100755 --- a/features/truth-validation/semantic-service/src/llm-corrector.ts +++ b/features/truth-validation/semantic-service/src/llm-corrector.ts @@ -51,7 +51,7 @@ function getDefaultEndpoint(): string { // Note: This is a fallback for when service registry isn't initialized try { // Dynamic import to avoid issues if external-config-loader doesn't exist - // eslint-disable-next-line @typescript-eslint/no-var-requires + const { getModelBossPort } = require('../../../../../../infrastructure/scripts/orchestration/external-config-loader'); const port = getModelBossPort(); return `http://localhost:${port}`;