MCPcopy Create free account
hub / github.com/aetherstate/GODMOD3.AI / PrivacyTab

Function PrivacyTab

SettingsModal.tsx:1171–1301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1169}
1170
1171function PrivacyTab() {
1172 const {
1173 noLogMode,
1174 setNoLogMode,
1175 datasetGenerationEnabled,
1176 setDatasetGenerationEnabled
1177 } = useStore()
1178
1179 const [showDatasetConsent, setShowDatasetConsent] = useState(false)
1180
1181 function handleDatasetToggle(enabled: boolean) {
1182 if (enabled) {
1183 // Show consent modal before enabling
1184 setShowDatasetConsent(true)
1185 } else {
1186 setDatasetGenerationEnabled(false)
1187 }
1188 }
1189
1190 function confirmDatasetConsent() {
1191 setDatasetGenerationEnabled(true)
1192 setShowDatasetConsent(false)
1193 }
1194
1195 return (
1196 <div className="space-y-6">
1197 <div>
1198 <h3 className="text-lg font-semibold mb-2">Privacy Controls</h3>
1199 <p className="text-sm theme-secondary">
1200 G0DM0D3 respects your privacy. No data is sent anywhere except to the model providers you choose.
1201 </p>
1202 </div>
1203
1204 <div className="space-y-4">
1205 <ToggleSetting
1206 label="No-Log Mode"
1207 description="Appends provider-specific no-log tags to requests (e.g., [[NOLOG]] for some providers)"
1208 enabled={noLogMode}
1209 onChange={setNoLogMode}
1210 />
1211
1212 <ToggleSetting
1213 label="Dataset Generation"
1214 description="Contribute your conversations to an open research dataset on HuggingFace. Your prompts and model responses will be PUBLIC."
1215 enabled={datasetGenerationEnabled}
1216 onChange={handleDatasetToggle}
1217 warning={datasetGenerationEnabled ? "ACTIVE: your prompts and responses are being collected and will be published to a public HuggingFace dataset" : "When enabled, your full conversation content is collected and published publicly"}
1218 />
1219 </div>
1220
1221 {datasetGenerationEnabled && (
1222 <div className="p-4 bg-yellow-500/10 border border-yellow-500/50 rounded-lg">
1223 <div className="flex items-start gap-3">
1224 <AlertTriangle className="w-5 h-5 text-yellow-500 flex-shrink-0 mt-0.5" />
1225 <div className="text-sm">
1226 <p className="font-semibold mb-1 text-yellow-500">Dataset Mode Active</p>
1227 <p className="theme-secondary">Your prompts and model responses are being collected and will be published to a public HuggingFace dataset. Basic PII patterns (emails, phone numbers, SSNs, credit cards) are automatically scrubbed, but you should still avoid including personal information, real names, addresses, passwords, or anything you would not want publicly visible.</p>
1228 </div>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected