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: greeting toggle in Appearance, and the composer stays put when the greeting is off (#16301)
Michael Hanfa39948fe177
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsxindex 9f6805130f7..4e045b3c9c7 100644--- a/studio/frontend/src/components/assistant-ui/thread.tsx+++ b/studio/frontend/src/components/assistant-ui/thread.tsx@@ -2783,7 +2783,12 @@ const ThreadWelcome: FC<{"aui-thread-welcome-center flex w-full grow flex-col items-center",composerAtBottom? "justify-center pb-[calc(160px*var(--ui-space-scale,1))]"- : "justify-start pt-[27.5dvh] has-[.unsloth-files-panel]:justify-center has-[.unsloth-files-panel]:pt-0 has-[.unsloth-files-panel]:pb-[6dvh]",+ : "justify-start has-[.unsloth-files-panel]:justify-center has-[.unsloth-files-panel]:pt-0 has-[.unsloth-files-panel]:pb-[6dvh]",+ // Without the greeting, its row and gap become padding, so the composer stays where it was.+ !composerAtBottom &&+ (showGreetingSloth || incognito+ ? "pt-[27.5dvh]"+ : "pt-[calc(27.5dvh_+_44px*var(--ui-space-scale,1)_+_2.25rem)]"),)}>{/* No padding, so the composer here is as wide as once it docks. */}diff --git a/studio/frontend/src/features/settings/settings-search.ts b/studio/frontend/src/features/settings/settings-search.tsindex 6fb6d312d30..f19334f1807 100644--- a/studio/frontend/src/features/settings/settings-search.ts+++ b/studio/frontend/src/features/settings/settings-search.ts@@ -76,6 +76,7 @@ export const SETTINGS_SEARCH_INDEX: Record<SettingsTab, TranslationKey[]> = {"settings.appearance.custom.headingFont.label","settings.appearance.custom.chatFont.label","settings.appearance.custom.chatWidth.label",+ "settings.profile.greetingSloth","settings.chat.composerAtBottom","settings.appearance.custom.sentAttachments.label","settings.appearance.custom.codeFont.label",@@ -142,7 +143,6 @@ export const SETTINGS_SEARCH_INDEX: Record<SettingsTab, TranslationKey[]> = {"settings.chat.firstTokenLabel","settings.chat.autoScroll","settings.chat.replyNotification",- "settings.profile.greetingSloth","settings.chat.thinking.visibility","settings.chat.tools.visibility","settings.chat.tools.foldIntoThinking",diff --git a/studio/frontend/src/features/settings/tabs/appearance-tab.tsx b/studio/frontend/src/features/settings/tabs/appearance-tab.tsxindex b6fe293968d..59bfbcec04e 100644--- a/studio/frontend/src/features/settings/tabs/appearance-tab.tsx+++ b/studio/frontend/src/features/settings/tabs/appearance-tab.tsx@@ -9,6 +9,7 @@ import { Button } from "@/components/ui/button";import { Switch } from "@/components/ui/switch";import { useSidebarPin } from "@/hooks/use-sidebar-pin";import { useChatPreferencesStore } from "@/features/chat";+import { useUserProfileStore } from "@/features/profile";import { TrickOrTreatSettingsRow } from "@/features/halloween/trick-or-treat-settings-row";import { useT } from "@/i18n";import { isTauri } from "@/lib/api-base";@@ -158,6 +159,10 @@ export function AppearanceTab() {const setComposerAtBottom = useChatPreferencesStore((s) => s.setNewChatComposerAtBottom,);+ const showGreetingSloth = useUserProfileStore((s) => s.showGreetingSloth);+ const setShowGreetingSloth = useUserProfileStore(+ (s) => s.setShowGreetingSloth,+ );const sidebarNavSectionRef = useRef<HTMLDivElement | null>(null);const scrollTarget = useSettingsDialogStore((s) => s.scrollTarget);const consumeScrollTarget = useSettingsDialogStore(@@ -254,6 +259,17 @@ export function AppearanceTab() {><ChatWidthSelect /></SettingsRow>+ <SettingsRow+ label={t("settings.profile.greetingSloth")}+ description={t("settings.profile.greetingSlothDescription")}+ >+ <Switch+ aria-label={t("settings.profile.greetingSloth")}+ id="profile-greeting-sloth"+ checked={showGreetingSloth}+ onCheckedChange={setShowGreetingSloth}+ />+ </SettingsRow><SettingsRowlabel={t("settings.chat.composerAtBottom")}description={t("settings.chat.composerAtBottomDescription")}diff --git a/studio/frontend/src/features/settings/tabs/chat-tab.tsx b/studio/frontend/src/features/settings/tabs/chat-tab.tsxindex 47fc11bbadd..9e942de820a 100644--- a/studio/frontend/src/features/settings/tabs/chat-tab.tsx+++ b/studio/frontend/src/features/settings/tabs/chat-tab.tsx@@ -26,7 +26,6 @@ import { PASTED_TEXT_THRESHOLD_CHOICES } from "@/features/chat/utils/pasted-textimport { refreshContextUsage } from "@/features/chat/utils/refresh-context-usage";import { formatBindingLabel, isMacPlatform } from "../lib/keyboard-shortcuts";import { useIsAccountOwner } from "@/features/auth";-import { useUserProfileStore } from "@/features/profile";import { type TranslationKey, useT } from "@/i18n";import { toast } from "@/lib/toast";import { cn } from "@/lib/utils";@@ -317,10 +316,6 @@ export function ChatTab() {const setKeepRunningWhenTabClosed = useChatRuntimeStore((state) => state.setKeepRunningWhenTabClosed,);- const showGreetingSloth = useUserProfileStore((s) => s.showGreetingSloth);- const setShowGreetingSloth = useUserProfileStore(- (s) => s.setShowGreetingSloth,- );const searchImages = useChatRuntimeStore((state) => state.searchImages);const setSearchImages = useChatRuntimeStore((state) => state.setSearchImages);const hydratePersistedSettings = useChatRuntimeStore(@@ -796,17 +791,6 @@ export function ChatTab() {onCheckedChange={setShowInlineEditResponse}/></SettingsRow>- <SettingsRow- label={t("settings.profile.greetingSloth")}- description={t("settings.profile.greetingSlothDescription")}- >- <Switch- aria-label={t("settings.profile.greetingSloth")}- id="profile-greeting-sloth"- checked={showGreetingSloth}- onCheckedChange={setShowGreetingSloth}- />- </SettingsRow></SettingsSection><SettingsSection title={t("settings.chat.modelSelection.title")}>