feat(FN-4080): complete Step 6 — group thinking log toggles

Fusion-Task-Id: FN-4080
Fusion-Task-Lineage: 086863ba-7100-41ab-9cfc-197301fbcab0
This commit is contained in:
Fusion
2026-05-13 06:01:21 -07:00
committed by gsxdsm
parent ddb71964dd
commit b9fdc583e0

View File

@@ -2133,34 +2133,35 @@ export function SettingsModal({
</div> </div>
</div> </div>
<div className="form-group"> <div className="form-group">
<label htmlFor="persistAgentThinkingLogPermanent" className="checkbox-label"> <fieldset>
<input <legend>Save AI thinking logs</legend>
id="persistAgentThinkingLogPermanent" <label htmlFor="persistAgentThinkingLogPermanent" className="checkbox-label">
type="checkbox" <input
checked={resolvePersistAgentThinkingLog(form, { ephemeral: false })} id="persistAgentThinkingLogPermanent"
onChange={(e) => type="checkbox"
setForm((f) => ({ ...f, persistAgentThinkingLogPermanent: e.target.checked })) checked={resolvePersistAgentThinkingLog(form, { ephemeral: false })}
} onChange={(e) =>
/> setForm((f) => ({ ...f, persistAgentThinkingLogPermanent: e.target.checked }))
Save AI thinking for permanent agents }
</label> />
</div> Save AI thinking for permanent agents
<div className="form-group"> </label>
<label htmlFor="persistAgentThinkingLogEphemeral" className="checkbox-label"> <label htmlFor="persistAgentThinkingLogEphemeral" className="checkbox-label">
<input <input
id="persistAgentThinkingLogEphemeral" id="persistAgentThinkingLogEphemeral"
type="checkbox" type="checkbox"
checked={resolvePersistAgentThinkingLog(form, { ephemeral: true })} checked={resolvePersistAgentThinkingLog(form, { ephemeral: true })}
onChange={(e) => onChange={(e) =>
setForm((f) => ({ ...f, persistAgentThinkingLogEphemeral: e.target.checked })) setForm((f) => ({ ...f, persistAgentThinkingLogEphemeral: e.target.checked }))
} }
/> />
Save AI thinking for ephemeral / task-worker agents Save AI thinking for ephemeral / task-worker agents
</label> </label>
<div className="settings-field-help"> <div className="settings-field-help">
Leave both thinking toggles off to keep the original default behavior. Leave both thinking toggles off to keep the original default behavior.
This only controls persisted <code>thinking</code> rows and does not affect assistant text or tool rows. This only controls persisted <code>thinking</code> rows and does not affect assistant text or tool rows.
</div> </div>
</fieldset>
</div> </div>
<div className="form-group"> <div className="form-group">
<label htmlFor="fnBinaryCheckEnabled" className="checkbox-label"> <label htmlFor="fnBinaryCheckEnabled" className="checkbox-label">