feat: replace OpenAI pricing with AI assessment estimates

Extend durable image assessments with explicit Persian vehicle names, deployment severity settings and advisory market prices normalized to rials. Preserve case access and retry boundaries, and remove the retired OpenAI pricing module and routes.
This commit is contained in:
SepehrYahyaee
2026-11-08 10:52:45 +03:30
parent a8bb0d8e35
commit 755e921c08
32 changed files with 638 additions and 2702 deletions
@@ -425,7 +425,7 @@ export class ExpertInsurerController {
const id = typeof detail.claim?.claimRequestId === "string" ? detail.claim.claimRequestId : undefined;
if (!id) return { enabled: this.aiService.enabled, images: [] };
const claim = await this.claimCaseDbService.findById(id);
return this.aiService.retry(id, currentAiCaptures(claim));
return this.aiService.retry(id, currentAiCaptures(claim), false);
}
@Get("files/:publicId")