+
+
{t('sensitiveDetection.placeholderFormat')}
+
+ {promptRedactionSettings?.placeholderFormat === 'compact'
+ ? t('sensitiveDetection.compactPreview')
+ : t('sensitiveDetection.verbosePreview')}
+
+
+
+ {(['verbose', 'compact'] as PromptRedactionPlaceholderFormat[]).map((format) => {
+ const active = promptRedactionSettings?.placeholderFormat === format;
+ return (
+
+ );
+ })}
+
+