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/frontend: show "1 second" instead of "1 seconds" in thinking blocks (#5777)

oobaboogaeacff8b8279c
diff --git a/studio/frontend/src/components/assistant-ui/reasoning.tsx b/studio/frontend/src/components/assistant-ui/reasoning.tsx
index e4401cc12ef..285b87d138a 100644
--- a/studio/frontend/src/components/assistant-ui/reasoning.tsx
+++ b/studio/frontend/src/components/assistant-ui/reasoning.tsx
@@ -134,7 +134,7 @@ function ReasoningTrigger({
{active ? (
<span className="text-sm">Thinking...</span>
) : (
- <span>Thought for {duration ?? 0} seconds</span>
+ <span>Thought for {duration ?? 0} {duration === 1 ? "second" : "seconds"}</span>
)}
</span>
<ChevronDownIcon