mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
fix(ai): prefix insight text with recommended gamme letter for clarity
This commit is contained in:
1 parent
09f9c0b097
commit
c6148b58a4
1 file changed
+3
-2
@@ -80,8 +80,9 @@ export function BulkAiAnalyzer() {
|
||||
if (reco.codein && reco.recommandationGamme) {
|
||||
// Update the gamme draft
|
||||
setDraftGamme(reco.codein, reco.recommandationGamme);
|
||||
// Inject the justification into the AI insight column
|
||||
const justification = reco.justificationCourte || `Recommandation: Gamme ${reco.recommandationGamme}`;
|
||||
// Inject the justification into the AI insight column (with gamme letter prefix)
|
||||
const baseJustification = reco.justificationCourte || "Aucune explication.";
|
||||
const justification = `Gamme ${reco.recommandationGamme} — ${baseJustification}`;
|
||||
setInsight(reco.codein, justification, reco.isDuplicate ?? false);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user