Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

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

Daniel Hanee6f057cc285
diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsx
index b14482308a5..508194c0613 100644
--- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx
+++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx
@@ -331,6 +331,7 @@ export function ChatSettingsPanel({
max={2}
step={0.05}
onChange={set("repetitionPenalty")}
+ displayValue={params.repetitionPenalty === 1 ? "Off" : undefined}
/>
{!isGguf && (
<ParamSlider