studio: show "Off" for repetition penalty = 1 (#4349)

This commit is contained in:
Daniel Han 2026-03-17 01:28:33 -07:00 committed by GitHub
commit ee6f057cc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -331,6 +331,7 @@ export function ChatSettingsPanel({
max={2}
step={0.05}
onChange={set("repetitionPenalty")}
displayValue={params.repetitionPenalty === 1 ? "Off" : undefined}
/>
{!isGguf && (
<ParamSlider