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
Repair four checks that went red on main with the 10-06 Studio merges (#12868)
Daniel Han73b43f6d120a
diff --git a/studio/backend/core/external_import/__init__.py b/studio/backend/core/external_import/__init__.pyindex 0d3ac14e884..9c60d705b78 100644--- a/studio/backend/core/external_import/__init__.py+++ b/studio/backend/core/external_import/__init__.py@@ -142,7 +142,8 @@ def file_times_ms(path: Path) -> tuple[int, int]:def _zstd_reader(raw):try:- from compression import zstd # Python 3.14++ # novermin -- 3.14; the ImportError fallback to zstandard below is the guard, which vermin cannot see.+ from compression import zstd # noverminreturn zstd.ZstdFile(raw)except ImportError:import zstandard # ImportError here means the caller skips the filediff --git a/studio/frontend/src/features/browser/browser-panel.tsx b/studio/frontend/src/features/browser/browser-panel.tsxindex 099c3318013..8bd5e717f95 100644--- a/studio/frontend/src/features/browser/browser-panel.tsx+++ b/studio/frontend/src/features/browser/browser-panel.tsx@@ -846,7 +846,7 @@ function SiteIdentity({ address, tab }: { address: string; tab: BrowserTab | und}if (!url || !/^https?:$/.test(url.protocol)) {return (- <span className="flex h-7 w-[26px] shrink-0 items-center justify-center text-muted-foreground">+ <span className="flex h-7 w-[calc(26px*var(--ui-space-scale,1))] shrink-0 items-center justify-center text-muted-foreground"><HugeiconsIcon icon={Search01Icon} strokeWidth={1.75} aria-hidden={true} className="size-4" /></span>);@@ -874,7 +874,7 @@ function SiteIdentity({ address, tab }: { address: string; tab: BrowserTab | und<buttontype="button"aria-label={label}- className="flex h-7 w-[26px] shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)] aria-expanded:text-foreground"+ className="flex h-7 w-[calc(26px*var(--ui-space-scale,1))] shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)] aria-expanded:text-foreground">{secure ? (<ShieldCheck strokeWidth={2} className="size-4" />diff --git a/studio/frontend/tests/settings-deep-open-requests.test.ts b/studio/frontend/tests/settings-deep-open-requests.test.tsindex 2891eef523e..b8e5faf8657 100644--- a/studio/frontend/tests/settings-deep-open-requests.test.ts+++ b/studio/frontend/tests/settings-deep-open-requests.test.ts@@ -133,9 +133,9 @@ test("consuming a scroll target clears it", () => {assert.equal(store.getState().scrollTarget, null);});-test("canvas network and Library storage land on their tab and stay until it reads them", () => {+test("browser network and Library storage land on their tab and stay until it reads them", () => {for (const [tab, target, from] of [- ["chat", "chat-canvas-network", null],+ ["browser", "browser-html-network", null],["library", "library-storage", "data"],["general", "general-hub", "data"],] as const) {@@ -152,8 +152,8 @@ test("canvas network and Library storage land on their tab and stay until it reatest("a deep link can provide a stable focus fallback", () => {reset();const fallback = {} as HTMLElement;- store.getState().openDialog("chat", {- scrollTarget: "chat-canvas-network",+ store.getState().openDialog("browser", {+ scrollTarget: "browser-html-network",focusFallback: fallback,});assert.equal(store.getState().openerFallback, fallback);