强制启用文件拆分(实际模型忽略)

This commit is contained in:
CJACK
2026-04-26 07:31:19 +08:00
parent abc96a37d8
commit 4c83f36089
15 changed files with 48 additions and 39 deletions

View File

@@ -9,15 +9,10 @@ export default function HistorySplitSection({ t, form, setForm }) {
<label className="flex items-start gap-3 rounded-lg border border-border bg-background/60 p-4">
<input
type="checkbox"
checked={Boolean(form.history_split?.enabled ?? true)}
onChange={(e) => setForm((prev) => ({
...prev,
history_split: {
...prev.history_split,
enabled: e.target.checked,
},
}))}
className="mt-1 h-4 w-4 rounded border-border"
checked
disabled
readOnly
className="mt-1 h-4 w-4 rounded border-border disabled:opacity-70"
/>
<div className="space-y-1">
<span className="text-sm font-medium block">{t('settings.historySplitEnabled')}</span>