{mappingOk - ? autoDetected ? "Auto-detected mapping" : "Mapping ready" + ? autoDetected ? "Heuristic-detected mapping" : "Mapping ready" : "Map dataset columns"}
{mappingOk ? autoDetected - ? "We auto-detected the column mapping below. You can change it using the dropdowns in the column headers, or use AI Assist for a smarter mapping strategy." + ? "We auto-detected the column mapping below using heuristics. Please review and adjust using the dropdowns in the column headers, or use AI Assist for a smarter mapping." : "Looks good. We'll convert this dataset automatically." : `Assign roles to columns using the dropdowns in the headers. At minimum, assign ${requiredLabel}.`}
diff --git a/studio/frontend/src/features/training/hooks/use-training-actions.ts b/studio/frontend/src/features/training/hooks/use-training-actions.ts index e42bc2c962..b5b41e7a0d 100644 --- a/studio/frontend/src/features/training/hooks/use-training-actions.ts +++ b/studio/frontend/src/features/training/hooks/use-training-actions.ts @@ -78,7 +78,8 @@ export function useTrainingActions() { }); } - if (check.requires_manual_mapping && !hasManualMapping(config, isVlm, isAudio)) { + const needsReview = check.requires_manual_mapping || check.detected_format === "custom_heuristic"; + if (needsReview && !hasManualMapping(config, isVlm, isAudio)) { // Pre-fill from suggested_mapping or VLM detected columns const hint: Record