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: put Remote and LAN access on their own settings tab (#9389)

Michael Han5c33d1125b10
diff --git a/studio/backend/startup_banner.py b/studio/backend/startup_banner.py
index fc38b10eb01..6584048af21 100644
--- a/studio/backend/startup_banner.py
+++ b/studio/backend/startup_banner.py
@@ -172,7 +172,7 @@ def print_studio_access_banner(
style(" LAN access is on -- also reachable on your network at:", secondary)
)
lines.extend(style(f" http://{a}:{port}", secondary) for a in lan_addresses)
- lines.append(style(" Turn it off in Settings > API keys > LAN access.", secondary))
+ lines.append(style(" Turn it off in Settings > Remote & LAN > LAN access.", secondary))
else:
lines.extend(
[
@@ -182,7 +182,7 @@ def print_studio_access_banner(
secondary,
),
style(
- " To expose it, turn on Settings > API keys > LAN access, or "
+ " To expose it, turn on Settings > Remote & LAN > LAN access, or "
f"relaunch with: unsloth studio -H 0.0.0.0 -p {port}",
secondary,
),
diff --git a/studio/frontend/src/features/settings/settings-dialog.tsx b/studio/frontend/src/features/settings/settings-dialog.tsx
index f6477b5b6ec..9bb249de4b1 100644
--- a/studio/frontend/src/features/settings/settings-dialog.tsx
+++ b/studio/frontend/src/features/settings/settings-dialog.tsx
@@ -24,6 +24,7 @@ import {
DatabaseSettingIcon,
Globe02Icon,
HelpCircleIcon,
+ HomeWifiIcon,
KeyboardIcon,
Message01Icon,
PaintBrush02Icon,
@@ -73,6 +74,8 @@ const TAB_LOADERS = {
default: m.KeyboardShortcutsTab,
})),
"api-keys": () => import("./tabs/api-keys-tab").then((m) => ({ default: m.ApiKeysTab })),
+ "remote-lan": () =>
+ import("./tabs/remote-lan-tab").then((m) => ({ default: m.RemoteLanTab })),
agents: () => import("./tabs/agents-tab").then((m) => ({ default: m.AgentsTab })),
debugging: () =>
import("./tabs/debugging-tab").then((m) => ({ default: m.DebuggingTab })),
@@ -186,6 +189,11 @@ const TABS: TabDef[] = [
labelKey: "settings.tabs.apiKeys",
icon: Globe02Icon,
},
+ {
+ id: "remote-lan",
+ labelKey: "settings.tabs.remoteLan",
+ icon: HomeWifiIcon,
+ },
{
id: "connections",
labelKey: "settings.tabs.connections",
@@ -357,6 +365,7 @@ export function SettingsDialog() {
"keyboard-shortcuts": null,
data: null,
"api-keys": null,
+ "remote-lan": null,
agents: null,
debugging: null,
about: null,
diff --git a/studio/frontend/src/features/settings/settings-search.ts b/studio/frontend/src/features/settings/settings-search.ts
index fb963ec1d19..d36a35144af 100644
--- a/studio/frontend/src/features/settings/settings-search.ts
+++ b/studio/frontend/src/features/settings/settings-search.ts
@@ -119,6 +119,9 @@ export const SETTINGS_SEARCH_INDEX: Record<SettingsTab, TranslationKey[]> = {
"settings.apiKeys.description",
"settings.apiKeys.accessTokens",
],
+ // The two cards label themselves in English in every locale, so keys naming them
+ // would never match their own anchor. The header carries both entries instead.
+ "remote-lan": ["settings.remoteLan.title", "settings.remoteLan.description"],
agents: [
// Every key needs a rendered data-settings-label, or a hit has nothing to scroll to.
"settings.agents.title",
diff --git a/studio/frontend/src/features/settings/stores/settings-dialog-store.ts b/studio/frontend/src/features/settings/stores/settings-dialog-store.ts
index c2569137d98..cc2fc4129ac 100644
--- a/studio/frontend/src/features/settings/stores/settings-dialog-store.ts
+++ b/studio/frontend/src/features/settings/stores/settings-dialog-store.ts
@@ -17,6 +17,7 @@ export const SETTINGS_TABS = [
"connections",
"data",
"api-keys",
+ "remote-lan",
"agents",
"keyboard-shortcuts",
"debugging",
diff --git a/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx b/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx
index 7588f1c1aed..8a82ad4def5 100644
--- a/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx
@@ -174,6 +174,7 @@ export function ApiKeysTab() {
<MonitorLink />
+ {/* Also on the Remote & LAN tab. One panel mounts at a time, so only one polls. */}
<RemoteAccessSection />
<LanAccessSection />
diff --git a/studio/frontend/src/features/settings/tabs/remote-lan-tab.tsx b/studio/frontend/src/features/settings/tabs/remote-lan-tab.tsx
new file mode 100644
index 00000000000..c837216d901
--- /dev/null
+++ b/studio/frontend/src/features/settings/tabs/remote-lan-tab.tsx
@@ -0,0 +1,35 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
+
+import { useT } from "@/i18n";
+import { LanAccessSection } from "../components/lan-access-section";
+import { RemoteAccessSection } from "../components/remote-access-section";
+
+/** Reaching Studio from another device, without the API token list in the way. */
+export function RemoteLanTab() {
+ const t = useT();
+
+ return (
+ <div className="flex min-w-0 max-w-full flex-col gap-6">
+ {/* data-settings-label lets indexed settings search scroll to these. */}
+ <header className="flex min-w-0 flex-col gap-1">
+ <h1
+ data-settings-label={t("settings.remoteLan.title")}
+ className="text-xl font-semibold font-heading"
+ >
+ {t("settings.remoteLan.title")}
+ </h1>
+ <p
+ data-settings-label={t("settings.remoteLan.description")}
+ className="text-xs text-muted-foreground"
+ >
+ {t("settings.remoteLan.description")}
+ </p>
+ </header>
+
+ <RemoteAccessSection />
+
+ <LanAccessSection />
+ </div>
+ );
+}
diff --git a/studio/frontend/src/i18n/locales/ar.ts b/studio/frontend/src/i18n/locales/ar.ts
index 0f02489457e..f1116767382 100644
--- a/studio/frontend/src/i18n/locales/ar.ts
+++ b/studio/frontend/src/i18n/locales/ar.ts
@@ -193,6 +193,7 @@ export const ar = {
chat: "المحادثة",
connections: "الاتصالات",
apiKeys: "API",
+ remoteLan: "الوصول عن بُعد والشبكة المحلية",
about: "حول",
data: "البيانات",
agents: "الوكلاء",
@@ -1227,6 +1228,11 @@ export const ar = {
title: "الاتصالات",
description: "إدارة المزوّدين والاتصالات الخارجية.",
},
+ remoteLan: {
+ title: "الوصول عن بُعد والشبكة المحلية",
+ description:
+ "الوصول إلى Unsloth من أجهزتك الأخرى عبر شبكتك المحلية أو عنوان URL عام مؤقت.",
+ },
apiKeys: {
title: "API",
description: "الوصول إلى Unsloth عبر واجهة API المتوافقة مع OpenAI.",
diff --git a/studio/frontend/src/i18n/locales/de.ts b/studio/frontend/src/i18n/locales/de.ts
index e0784dfc14b..4e9bc2db4b0 100644
--- a/studio/frontend/src/i18n/locales/de.ts
+++ b/studio/frontend/src/i18n/locales/de.ts
@@ -197,6 +197,7 @@ export const de = {
chat: "Chat",
connections: "Verbindungen",
apiKeys: "API",
+ remoteLan: "Remote & LAN",
about: "Info",
data: "Daten",
agents: "Agenten",
@@ -1267,6 +1268,11 @@ export const de = {
title: "Verbindungen",
description: "Verwalten Sie Anbieter und externe Verbindungen.",
},
+ remoteLan: {
+ title: "Remote & LAN",
+ description:
+ "Erreiche dieses Unsloth von deinen anderen Geräten über dein lokales Netzwerk oder eine temporäre öffentliche URL.",
+ },
apiKeys: {
title: "API",
description: "Zugriff auf Unsloth über die OpenAI-kompatible API.",
diff --git a/studio/frontend/src/i18n/locales/en.ts b/studio/frontend/src/i18n/locales/en.ts
index 924b4dfef50..2f97a5c0064 100644
--- a/studio/frontend/src/i18n/locales/en.ts
+++ b/studio/frontend/src/i18n/locales/en.ts
@@ -195,6 +195,7 @@ export const en = {
connections: "Connections",
data: "Data",
apiKeys: "API",
+ remoteLan: "Remote & LAN",
agents: "Agents",
keyboardShortcuts: "Shortcuts",
debugging: "Logs",
@@ -1221,6 +1222,11 @@ export const en = {
title: "Connections",
description: "Manage providers and external connections.",
},
+ remoteLan: {
+ title: "Remote & LAN",
+ description:
+ "Reach this Unsloth from your other devices, over your local network or a temporary public URL.",
+ },
apiKeys: {
title: "API",
description: "Access Unsloth via the OpenAI-compatible API.",
diff --git a/studio/frontend/src/i18n/locales/es.ts b/studio/frontend/src/i18n/locales/es.ts
index 3313f15550e..c9d1ebe6d72 100644
--- a/studio/frontend/src/i18n/locales/es.ts
+++ b/studio/frontend/src/i18n/locales/es.ts
@@ -196,6 +196,7 @@ export const es = {
chat: "Chat",
connections: "Conexiones",
apiKeys: "API",
+ remoteLan: "Remoto y LAN",
about: "Acerca de",
data: "Datos",
agents: "Agentes",
@@ -1258,6 +1259,11 @@ export const es = {
title: "Conexiones",
description: "Gestiona proveedores y conexiones externas.",
},
+ remoteLan: {
+ title: "Remoto y LAN",
+ description:
+ "Accede a este Unsloth desde tus otros dispositivos, por tu red local o mediante una URL pública temporal.",
+ },
apiKeys: {
title: "API",
description: "Accede a Unsloth mediante la API compatible con OpenAI.",
diff --git a/studio/frontend/src/i18n/locales/fr.ts b/studio/frontend/src/i18n/locales/fr.ts
index 81111558f0f..ef8800d481d 100644
--- a/studio/frontend/src/i18n/locales/fr.ts
+++ b/studio/frontend/src/i18n/locales/fr.ts
@@ -197,6 +197,7 @@ export const fr = {
chat: "Discussion",
connections: "Connexions",
apiKeys: "API",
+ remoteLan: "Accès distant et LAN",
about: "À propos",
data: "Données",
agents: "Agents",
@@ -1266,6 +1267,11 @@ export const fr = {
title: "Connexions",
description: "Gérez les fournisseurs et les connexions externes.",
},
+ remoteLan: {
+ title: "Accès distant et LAN",
+ description:
+ "Accédez à cet Unsloth depuis vos autres appareils, via votre réseau local ou une URL publique temporaire.",
+ },
apiKeys: {
title: "API",
description: "Accédez à Unsloth via l'API compatible OpenAI.",
diff --git a/studio/frontend/src/i18n/locales/hi.ts b/studio/frontend/src/i18n/locales/hi.ts
index d0ea5d1b14d..4b3ef5626fc 100644
--- a/studio/frontend/src/i18n/locales/hi.ts
+++ b/studio/frontend/src/i18n/locales/hi.ts
@@ -196,6 +196,7 @@ export const hi = {
chat: "चैट",
connections: "कनेक्शन",
apiKeys: "API",
+ remoteLan: "रिमोट और LAN",
about: "परिचय",
data: "डेटा",
agents: "एजेंट",
@@ -1233,6 +1234,11 @@ export const hi = {
title: "कनेक्शन",
description: "प्रदाता और बाहरी कनेक्शन प्रबंधित करें।",
},
+ remoteLan: {
+ title: "रिमोट और LAN",
+ description:
+ "इस Unsloth तक अपने दूसरे डिवाइस से पहुँचें, अपने लोकल नेटवर्क या एक अस्थायी सार्वजनिक URL से।",
+ },
apiKeys: {
title: "API",
description: "OpenAI-संगत API के माध्यम से Unsloth तक पहुंचें।",
diff --git a/studio/frontend/src/i18n/locales/it.ts b/studio/frontend/src/i18n/locales/it.ts
index 8d18c727a6b..6919b626051 100644
--- a/studio/frontend/src/i18n/locales/it.ts
+++ b/studio/frontend/src/i18n/locales/it.ts
@@ -163,6 +163,7 @@ export const it = {
connections: "Connessioni",
data: "Dati",
apiKeys: "API",
+ remoteLan: "Remoto e LAN",
agents: "Agenti",
debugging: "Log",
about: "Informazioni",
@@ -1231,6 +1232,11 @@ export const it = {
title: "Connessioni",
description: "Gestisci provider e connessioni esterne.",
},
+ remoteLan: {
+ title: "Remoto e LAN",
+ description:
+ "Raggiungi questo Unsloth dagli altri tuoi dispositivi, tramite la rete locale o un URL pubblico temporaneo.",
+ },
apiKeys: {
title: "API",
description: "Accedi a Unsloth tramite le API compatibili con OpenAI.",
diff --git a/studio/frontend/src/i18n/locales/ja.ts b/studio/frontend/src/i18n/locales/ja.ts
index 0d6454a6fc9..8739aba03c5 100644
--- a/studio/frontend/src/i18n/locales/ja.ts
+++ b/studio/frontend/src/i18n/locales/ja.ts
@@ -195,6 +195,7 @@ export const ja = {
chat: "チャット",
connections: "接続",
apiKeys: "API",
+ remoteLan: "リモートとLAN",
about: "情報",
voice: "音声",
data: "データ",
@@ -1206,6 +1207,11 @@ export const ja = {
title: "接続",
description: "プロバイダーと外部接続を管理します。",
},
+ remoteLan: {
+ title: "リモートとLAN",
+ description:
+ "ローカルネットワークまたは一時的な公開URLを介して、他のデバイスからこのUnslothにアクセスできます。",
+ },
apiKeys: {
title: "API",
description: "OpenAI互換 API を介して Unsloth にアクセスします。",
diff --git a/studio/frontend/src/i18n/locales/ko.ts b/studio/frontend/src/i18n/locales/ko.ts
index d41930af229..102d9c155c8 100644
--- a/studio/frontend/src/i18n/locales/ko.ts
+++ b/studio/frontend/src/i18n/locales/ko.ts
@@ -193,6 +193,7 @@ export const ko = {
chat: "채팅",
connections: "연결",
apiKeys: "API",
+ remoteLan: "원격 및 LAN",
about: "정보",
data: "데이터",
agents: "에이전트",
@@ -1225,6 +1226,11 @@ export const ko = {
title: "연결",
description: "제공자 및 외부 연결을 관리합니다.",
},
+ remoteLan: {
+ title: "원격 및 LAN",
+ description:
+ "로컬 네트워크나 임시 공개 URL을 통해 다른 기기에서 이 Unsloth에 접속합니다.",
+ },
apiKeys: {
title: "API",
description: "OpenAI 호환 API를 통해 Unsloth에 접근합니다.",
diff --git a/studio/frontend/src/i18n/locales/pt-br.ts b/studio/frontend/src/i18n/locales/pt-br.ts
index 1c066063a34..f7e0d39c80f 100644
--- a/studio/frontend/src/i18n/locales/pt-br.ts
+++ b/studio/frontend/src/i18n/locales/pt-br.ts
@@ -195,6 +195,7 @@ export const ptBR = {
chat: "Chat",
connections: "Conexões",
apiKeys: "API",
+ remoteLan: "Remoto e LAN",
about: "Sobre",
voice: "Voz",
data: "Dados",
@@ -1240,6 +1241,11 @@ export const ptBR = {
title: "Conexões",
description: "Gerencie provedores e conexões externas.",
},
+ remoteLan: {
+ title: "Remoto e LAN",
+ description:
+ "Acesse este Unsloth dos seus outros dispositivos, pela rede local ou por uma URL pública temporária.",
+ },
apiKeys: {
title: "API",
description:
diff --git a/studio/frontend/src/i18n/locales/ru.ts b/studio/frontend/src/i18n/locales/ru.ts
index 722c1da400b..5897fe2b258 100644
--- a/studio/frontend/src/i18n/locales/ru.ts
+++ b/studio/frontend/src/i18n/locales/ru.ts
@@ -195,6 +195,7 @@ export const ru = {
chat: "Чат",
connections: "Подключения",
apiKeys: "API",
+ remoteLan: "Удалённый доступ и LAN",
about: "О программе",
data: "Данные",
agents: "Агенты",
@@ -1238,6 +1239,11 @@ export const ru = {
title: "Подключения",
description: "Управление провайдерами и внешними подключениями.",
},
+ remoteLan: {
+ title: "Удалённый доступ и LAN",
+ description:
+ "Откройте этот Unsloth с других устройств: через локальную сеть или временный публичный URL.",
+ },
apiKeys: {
title: "API",
description: "Доступ к Unsloth через OpenAI-совместимый API.",
diff --git a/studio/frontend/src/i18n/locales/zh-CN.ts b/studio/frontend/src/i18n/locales/zh-CN.ts
index 645166f9830..5f440b418cd 100644
--- a/studio/frontend/src/i18n/locales/zh-CN.ts
+++ b/studio/frontend/src/i18n/locales/zh-CN.ts
@@ -191,6 +191,7 @@ export const zhCN = {
chat: "聊天",
connections: "连接",
apiKeys: "API",
+ remoteLan: "远程与局域网",
about: "关于",
voice: "语音",
data: "数据",
@@ -1194,6 +1195,11 @@ export const zhCN = {
title: "连接",
description: "管理提供方和外部服务的连接。",
},
+ remoteLan: {
+ title: "远程与局域网",
+ description:
+ "通过局域网或临时公开 URL,从其他设备访问此 Unsloth。",
+ },
apiKeys: {
title: "API",
description: "通过兼容 OpenAI 的 API 以编程方式访问 Unsloth。",
diff --git a/tests/studio/playwright_settings_tabs.py b/tests/studio/playwright_settings_tabs.py
index f5f8c3f78f1..3117770289a 100644
--- a/tests/studio/playwright_settings_tabs.py
+++ b/tests/studio/playwright_settings_tabs.py
@@ -40,6 +40,7 @@ TABS = [
"connections",
"data",
"api-keys",
+ "remote-lan",
"agents",
"keyboard-shortcuts",
"debugging",