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: follow the chat background from #15973 through three frontend guards (#16116)
Daniel Hancedf0ce45c47
diff --git a/studio/frontend/smoke-chat-background.html b/studio/frontend/smoke-chat-background.htmlindex 0316feb178b..2002744ba4e 100644--- a/studio/frontend/smoke-chat-background.html+++ b/studio/frontend/smoke-chat-background.html@@ -1 +1 @@-<!doctype html><html><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Chat background verification</title></head><body><div id="root"></div><script type="module" src="/smoke-chat-background-main.tsx"></script></body></html>+<!doctype html><html><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><script src="/crypto-boot.js"></script><title>Chat background verification</title></head><body><div id="root"></div><script type="module" src="/smoke-chat-background-main.tsx"></script></body></html>diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex ca9af76eaf6..71c9b9dbaf4 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -6748,7 +6748,9 @@ html.force-reduced-motion .spooky-still :is(.spooky-spider, .spooky-bat) {.wallpaper-preview-composer {background: color-mix(in srgb, var(--background) max(92%, calc((1 - var(--wallpaper-safe, 0)) * 100%)), transparent);backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);- box-shadow: inset 0 0 0 1px var(--border);+ /* An outline over the image instead of a drop shadow, through the composer's one shadow variable. */+ --composer-shadow: inset 0 0 0 1px var(--border);+ box-shadow: var(--composer-shadow);}.wallpaper-preview-prose { background: var(--background); }@@ -6795,4 +6797,4 @@ html:has([data-wallpaper-workspace] > .chat-wallpaper[data-ready]) [data-slot="w[data-wallpaper-workspace]:has(> .chat-wallpaper[data-ready]) :is(.hub-page, .hub-page .hub-canvas, [data-wallpaper-page-canvas]) { background: transparent; }:is([data-wallpaper-workspace], [data-chat-content-root]):has(> .chat-wallpaper[data-ready][data-outline="false"]) .unsloth-composer-surface,-.wallpaper-preview:has(> .chat-wallpaper[data-outline="false"]) .wallpaper-preview-composer { box-shadow: none; }+.wallpaper-preview:has(> .chat-wallpaper[data-outline="false"]) .wallpaper-preview-composer { --composer-shadow: none; }diff --git a/studio/frontend/tests/general-settings-token-sync.test.ts b/studio/frontend/tests/general-settings-token-sync.test.tsindex 589107f15ff..9884181e816 100644--- a/studio/frontend/tests/general-settings-token-sync.test.ts+++ b/studio/frontend/tests/general-settings-token-sync.test.ts@@ -115,6 +115,7 @@ function generalTab(initialToken: string) {{ getState: () => runtime },),},+ "@/features/chat-background": { resetChatBackground: async () => true },"@/features/chat/stores/sidebar-organization-keys": {SIDEBAR_ORGANIZATION_STORAGE_KEY: "sidebar-order",},