Skip to content

IA-989: fix(config): fix(rec): fix text preprocessing URL causing 400 ASSISTANT_RESOLUTION_ERROR

khadija.elbachouri a demandé de fusionner feature/IA-989 vers develop

Problem

The rec environment was returning a 400 ASSISTANT_RESOLUTION_ERROR on chat requests.

Root Cause

text.preprocessing.api.url in application-rec.yml was pointing to /api/core-ia instead of /api/traitement-multimedias. The endpoint /api/core-ia/supported-formats/ does not exist on the Django service, causing a cascade of errors leading to the 400.

Fix

Changed text.preprocessing.api.url default value in application-rec.yml:

  • Before: https://brainboost-api-rec.mc-intern.com/api/core-ia
  • After: https://brainboost-api-rec.mc-intern.com/api/traitement-multimedias

Testing

  • local profile: working (was already using /api/traitement-multimedias)
  • rec profile: verified in logs that preprocessing call returns 200 with correct URL

Rapports de requête de fusion