fase(7): api server refactor with composition root
This commit is contained in:
12
dist/modules/findings/infrastructure/NullAIEnricher.js
vendored
Normal file
12
dist/modules/findings/infrastructure/NullAIEnricher.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.NullAIEnricher = void 0;
|
||||
/**
|
||||
* NullAIEnricher — no-op enricher used when AI provider is not configured.
|
||||
*/
|
||||
class NullAIEnricher {
|
||||
async enrich(_finding) {
|
||||
throw new Error('AI enrichment is not configured. Set ABE_AI_PROVIDER to enable it.');
|
||||
}
|
||||
}
|
||||
exports.NullAIEnricher = NullAIEnricher;
|
||||
Reference in New Issue
Block a user