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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio: brighten tool rows on hover, like the Thinking trigger (#11422)
Michael Han2bf90d64537c
diff --git a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx b/studio/frontend/src/components/assistant-ui/tool-fallback.tsxindex bcb9343407c..c9c04340501 100644--- a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx+++ b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx@@ -199,7 +199,9 @@ function ToolFallbackTrigger({<CollapsibleTriggerdata-slot="tool-fallback-trigger"className={cn(- "aui-tool-fallback-trigger group/trigger flex w-full cursor-pointer items-center gap-2 text-sm transition-colors",+ // Brightens on hover like the Thinking trigger. The icon inherits this; the label+ // sets its own colour and picks it up through the group below.+ "aui-tool-fallback-trigger group/trigger flex w-full cursor-pointer items-center gap-2 text-sm transition-colors hover:text-foreground",className,)}{...props}@@ -226,8 +228,11 @@ function ToolFallbackTrigger({<spandata-slot="tool-fallback-trigger-label"className={cn(- "aui-tool-fallback-trigger-label-wrapper relative min-w-0 text-left leading-none text-muted-foreground",- isCancelled && "text-muted-foreground line-through",+ "aui-tool-fallback-trigger-label-wrapper relative min-w-0 text-left leading-none text-muted-foreground transition-colors",+ // A cancelled row stays muted: the strikethrough is the point, not the name.+ isCancelled+ ? "text-muted-foreground line-through"+ : "group-hover/trigger:text-foreground",)}><spandiff --git a/studio/frontend/src/components/assistant-ui/tool-group.tsx b/studio/frontend/src/components/assistant-ui/tool-group.tsxindex 75473e5a121..71c394e713b 100644--- a/studio/frontend/src/components/assistant-ui/tool-group.tsx+++ b/studio/frontend/src/components/assistant-ui/tool-group.tsx@@ -162,8 +162,9 @@ function ToolGroupTrigger({<CollapsibleTriggerdata-slot="tool-group-trigger"className={cn(- // Muted like the tool rows it summarises, so only the answer is at full foreground.- "aui-tool-group-trigger group/trigger flex w-full cursor-pointer items-center gap-2 text-muted-foreground text-sm transition-colors",+ // Muted like the tool rows it summarises, so only the answer is at full foreground,+ // and it brightens on hover like the Thinking trigger above it.+ "aui-tool-group-trigger group/trigger flex w-full cursor-pointer items-center gap-2 text-muted-foreground text-sm transition-colors hover:text-foreground","group-data-[variant=outline]/tool-group-root:px-4","group-data-[variant=muted]/tool-group-root:px-4","group-data-[variant=ghost]/tool-group-root:px-0",@@ -177,7 +178,7 @@ function ToolGroupTrigger({<HugeiconsIconicon={Wrench01Icon}data-slot="tool-group-trigger-wrench"- className="size-4 shrink-0 text-muted-foreground"+ className="size-4 shrink-0 text-muted-foreground transition-colors group-hover/trigger:text-foreground"strokeWidth={2}/>)}