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.

Say "Unsloth" on desktop surfaces, and sweep the whole crate for it (#11255)

Daniel Han9d77e21cee06
diff --git a/studio/frontend/src/features/api-monitor/tour/steps.tsx b/studio/frontend/src/features/api-monitor/tour/steps.tsx
index 77b50800386..a4c2689d932 100644
--- a/studio/frontend/src/features/api-monitor/tour/steps.tsx
+++ b/studio/frontend/src/features/api-monitor/tour/steps.tsx
@@ -10,7 +10,7 @@ export const apiMonitorTourSteps: TourStep[] = [
title: "Your endpoint",
body: (
<>
- Unsloth Studio serves an OpenAI-compatible API. Point any client at this base
+ Unsloth serves an OpenAI-compatible API. Point any client at this base
URL, keep the model name the same, and it works. Status and queue slots
sit beside it.
</>
diff --git a/studio/frontend/src/features/chat/api/chat-adapter.ts b/studio/frontend/src/features/chat/api/chat-adapter.ts
index c14067bde86..caec120789f 100644
--- a/studio/frontend/src/features/chat/api/chat-adapter.ts
+++ b/studio/frontend/src/features/chat/api/chat-adapter.ts
@@ -6445,7 +6445,7 @@ export function createOpenAIStreamAdapter(
throw new ChatGenerationTerminalError(
"failed",
generationRun?.error ||
- "The Unsloth Studio backend restarted during generation.",
+ "The Unsloth backend restarted during generation.",
);
}
if (generationStatus === "cancelled" && !runSignal.aborted) {
@@ -7943,7 +7943,7 @@ export function createOpenAIStreamAdapter(
toast.error("Response interrupted", {
description:
err.message ||
- "The Unsloth Studio backend stopped during generation.",
+ "The Unsloth backend stopped during generation.",
duration: 8000,
});
}
diff --git a/studio/frontend/src/features/chat/blender-mcp-setup.tsx b/studio/frontend/src/features/chat/blender-mcp-setup.tsx
index 12bf548d86c..e4713c665b4 100644
--- a/studio/frontend/src/features/chat/blender-mcp-setup.tsx
+++ b/studio/frontend/src/features/chat/blender-mcp-setup.tsx
@@ -46,7 +46,7 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
const rows = await listMcpBuiltins(wait);
if (generation.current !== current) return;
const blender = rows.find((row) => row.builtin_id === "blender");
- if (!blender) throw new Error("Blender MCP is not available from this Unsloth Studio backend.");
+ if (!blender) throw new Error("Blender MCP is not available from this Unsloth backend.");
setConfig(blender);
setLoadError(null);
if (!initialized.current) {
@@ -90,7 +90,7 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
if (action === "test") {
const result = await testBlenderMcp({ ...settings, consent });
if (!mounted.current) return;
- if (!result.ok) throw new Error(result.error ?? "MCP connection failed. Retry or check the Unsloth Studio backend.");
+ if (!result.ok) throw new Error(result.error ?? "MCP connection failed. Retry or check the Unsloth backend.");
setConnection(result.blender_ready ? "ready" : "partial");
setMessage(`MCP connected (${result.tool_count} tools). ${result.blender_ready
? "Blender ready."
@@ -143,9 +143,9 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
</span>
</div>
{!config?.is_enabled && <p className="text-sm leading-relaxed text-muted-foreground">
- Unsloth Studio downloads and sets up MCP on first use. Internet is needed once; the Blender add-on is installed separately.
+ Unsloth downloads and sets up MCP on first use. Internet is needed once; the Blender add-on is installed separately.
</p>}
- {duplicate && <p className="text-xs leading-relaxed text-amber-600">A custom Blender server also exists. Disable it below if you prefer Unsloth Studio’s managed setup.</p>}
+ {duplicate && <p className="text-xs leading-relaxed text-amber-600">A custom Blender server also exists. Disable it below if you prefer Unsloth’s managed setup.</p>}
{config && !config.is_enabled && (
<div className="flex items-start gap-3">
<Checkbox id="blender-mcp-consent" className="mt-0.5" checked={consent} disabled={locked} onCheckedChange={(checked) => setConsent(checked === true)} />
@@ -169,7 +169,7 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
</CollapsibleTrigger>
<CollapsibleContent className="[--duration:200ms] motion-reduce:animate-none">
<div className="space-y-4 pt-4 text-sm leading-relaxed text-muted-foreground">
- <p>Use Blender {config?.min_blender_version ?? "5.1.0"}+ on the Unsloth Studio backend machine.</p>
+ <p>Use Blender {config?.min_blender_version ?? "5.1.0"}+ on the Unsloth backend machine.</p>
<Button size="sm" variant="outline" onClick={() => openLink("https://www.blender.org/lab/mcp-server/")}>Download Blender add-on</Button>
<ol className="list-decimal space-y-3 pl-5">
<li>In Blender, enable <strong className="font-medium text-foreground">Online Access</strong> in Preferences → System.</li>
@@ -188,7 +188,7 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
</CollapsibleTrigger>
<CollapsibleContent className="[--duration:200ms] motion-reduce:animate-none">
<div className="space-y-4 pt-4">
- <p className="text-xs leading-relaxed text-muted-foreground">Loopback only (127.0.0.1). Match the add-on’s port. Unsloth Studio needs Python 3.10+.</p>
+ <p className="text-xs leading-relaxed text-muted-foreground">Loopback only (127.0.0.1). Match the add-on’s port. Unsloth needs Python 3.10+.</p>
<div className="grid gap-3 sm:grid-cols-[100px_1fr]">
<div className="space-y-1">
<Label htmlFor="blender-mcp-port">Port</Label>
diff --git a/studio/frontend/src/features/settings/api/debug-logs.ts b/studio/frontend/src/features/settings/api/debug-logs.ts
index 0beb56226f5..6d02b5d5c30 100644
--- a/studio/frontend/src/features/settings/api/debug-logs.ts
+++ b/studio/frontend/src/features/settings/api/debug-logs.ts
@@ -156,7 +156,7 @@ const DESKTOP_STATUS_PATTERN = /^Download failed with status (\d{3})\./;
// session (per-account isolation, shared installs). No request is made, so
// there is no status: the command returns this exact sentence (`LOGIN_REQUIRED`
// in native_file_dialogs.rs). Keep the two in step.
-const DESKTOP_LOGIN_REQUIRED = "Log export requires a signed-in Unsloth Studio session.";
+const DESKTOP_LOGIN_REQUIRED = "Log export requires a signed-in Unsloth session.";
function desktopExportError(error: unknown): LogExportError {
const message =
diff --git a/studio/frontend/src/i18n/locales/ar.ts b/studio/frontend/src/i18n/locales/ar.ts
index 7e3456e9493..70bda6dca32 100644
--- a/studio/frontend/src/i18n/locales/ar.ts
+++ b/studio/frontend/src/i18n/locales/ar.ts
@@ -245,7 +245,7 @@ export const ar = {
settings: {
accounts: {
title: "الحسابات",
- description: "أنشئ حسابات Unsloth Studio خاصة. يسجّل المستخدمون الجدد الدخول برمز إعداد يُستخدم مرة واحدة ثم يختارون كلمة مرور.",
+ description: "أنشئ حسابات Unsloth خاصة. يسجّل المستخدمون الجدد الدخول برمز إعداد يُستخدم مرة واحدة ثم يختارون كلمة مرور.",
username: "اسم المستخدم",
create: "إنشاء حساب",
createDescription: "شارك رمز إعداد ليختار صاحب الحساب كلمة مروره بنفسه.",
@@ -584,7 +584,7 @@ export const ar = {
openLogsFolderFailed: "تعذّر فتح مجلد السجلات.",
exportFailed: "تعذّر تنزيل السجلات.",
exportTooOld: "خادم Unsloth العامل أقدم من أن يدعم تصدير السجلات. حدِّثه وأعد تشغيله.",
- exportForbidden: "يتطلب تنزيل كل السجلات جلسة Unsloth Studio مسجّل الدخول إليها. لا يكفي مفتاح API.",
+ exportForbidden: "يتطلب تنزيل كل السجلات جلسة Unsloth مسجّل الدخول إليها. لا يكفي مفتاح API.",
keywords: "تصحيح الأخطاء سجل السجلات خطأ أخطاء تعطل تتبع تشخيص استكشاف الأخطاء debug log logs error",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/de.ts b/studio/frontend/src/i18n/locales/de.ts
index 9a86cbd9f69..384c4d3b6f4 100644
--- a/studio/frontend/src/i18n/locales/de.ts
+++ b/studio/frontend/src/i18n/locales/de.ts
@@ -249,7 +249,7 @@ export const de = {
settings: {
accounts: {
title: "Konten",
- description: "Private Unsloth Studio-Konten anlegen. Neue Nutzer melden sich mit einem einmaligen Einrichtungscode an und wählen ein Passwort.",
+ description: "Private Unsloth-Konten anlegen. Neue Nutzer melden sich mit einem einmaligen Einrichtungscode an und wählen ein Passwort.",
username: "Benutzername",
create: "Konto anlegen",
createDescription: "Teilen Sie einen Einrichtungscode, damit die Person ihr eigenes Passwort wählen kann.",
@@ -588,7 +588,7 @@ export const de = {
openLogsFolderFailed: "Der Protokollordner konnte nicht geöffnet werden.",
exportFailed: "Die Protokolle konnten nicht heruntergeladen werden.",
exportTooOld: "Das laufende Unsloth-Backend ist zu alt für den Protokollexport. Aktualisieren Sie dieses Backend und starten Sie es neu.",
- exportForbidden: "Zum Herunterladen aller Protokolle ist eine angemeldete Unsloth Studio-Sitzung erforderlich. Ein API-Schlüssel genügt nicht.",
+ exportForbidden: "Zum Herunterladen aller Protokolle ist eine angemeldete Unsloth-Sitzung erforderlich. Ein API-Schlüssel genügt nicht.",
keywords: "Fehlersuche Debugging Protokoll Protokolle Log Logs Fehler Absturz Stacktrace Diagnose Problembehebung debug",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/en.ts b/studio/frontend/src/i18n/locales/en.ts
index 53d851b30d4..dac5013b7d0 100644
--- a/studio/frontend/src/i18n/locales/en.ts
+++ b/studio/frontend/src/i18n/locales/en.ts
@@ -250,7 +250,7 @@ export const en = {
settings: {
accounts: {
title: "Accounts",
- description: "Create private Unsloth Studio accounts. New users sign in with a one-time setup code and choose a password.",
+ description: "Create private Unsloth accounts. New users sign in with a one-time setup code and choose a password.",
username: "Username",
create: "Create account",
createDescription: "Share a setup code so they can choose their own password.",
@@ -589,7 +589,7 @@ export const en = {
openLogsFolderFailed: "Could not open the logs folder.",
exportFailed: "Could not download the logs.",
exportTooOld: "Running Unsloth backend is too old to export logs. Update that backend and restart.",
- exportForbidden: "Downloading all logs needs a signed-in Unsloth Studio session. An API key is not enough.",
+ exportForbidden: "Downloading all logs needs a signed-in Unsloth session. An API key is not enough.",
// Not rendered: extra terms the settings search matches this tab on.
keywords: "debug debugging log logs error errors crash traceback stack trace troubleshoot diagnostics failed",
},
diff --git a/studio/frontend/src/i18n/locales/es.ts b/studio/frontend/src/i18n/locales/es.ts
index 42e713c6908..2eb20683a4d 100644
--- a/studio/frontend/src/i18n/locales/es.ts
+++ b/studio/frontend/src/i18n/locales/es.ts
@@ -248,7 +248,7 @@ export const es = {
settings: {
accounts: {
title: "Cuentas",
- description: "Crea cuentas privadas de Unsloth Studio. Los nuevos usuarios inician sesión con un código de configuración de un solo uso y eligen una contraseña.",
+ description: "Crea cuentas privadas de Unsloth. Los nuevos usuarios inician sesión con un código de configuración de un solo uso y eligen una contraseña.",
username: "Nombre de usuario",
create: "Crear cuenta",
createDescription: "Comparte un código de configuración para que elija su propia contraseña.",
@@ -587,7 +587,7 @@ export const es = {
openLogsFolderFailed: "No se pudo abrir la carpeta de registros.",
exportFailed: "No se pudieron descargar los registros.",
exportTooOld: "El backend de Unsloth en ejecución es demasiado antiguo para exportar los registros. Actualízalo y reinícialo.",
- exportForbidden: "Para descargar todos los registros hace falta una sesión de Unsloth Studio iniciada. Una clave de API no basta.",
+ exportForbidden: "Para descargar todos los registros hace falta una sesión de Unsloth iniciada. Una clave de API no basta.",
keywords: "depuracion depurar registro registros log logs error errores fallo traza diagnostico solucion de problemas debug",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/fr.ts b/studio/frontend/src/i18n/locales/fr.ts
index b7254c68703..293d194a000 100644
--- a/studio/frontend/src/i18n/locales/fr.ts
+++ b/studio/frontend/src/i18n/locales/fr.ts
@@ -249,7 +249,7 @@ export const fr = {
settings: {
accounts: {
title: "Comptes",
- description: "Créez des comptes Unsloth Studio privés. Les nouveaux utilisateurs se connectent avec un code de configuration à usage unique et choisissent un mot de passe.",
+ description: "Créez des comptes Unsloth privés. Les nouveaux utilisateurs se connectent avec un code de configuration à usage unique et choisissent un mot de passe.",
username: "Nom d'utilisateur",
create: "Créer un compte",
createDescription: "Partagez un code de configuration pour que la personne choisisse son propre mot de passe.",
@@ -588,7 +588,7 @@ export const fr = {
openLogsFolderFailed: "Le dossier des journaux n'a pas pu être ouvert.",
exportFailed: "Les journaux n'ont pas pu être téléchargés.",
exportTooOld: "Le backend Unsloth en cours d'exécution est trop ancien pour exporter les journaux. Mettez-le à jour et redémarrez-le.",
- exportForbidden: "Le téléchargement de tous les journaux nécessite une session Unsloth Studio connectée. Une clé d'API ne suffit pas.",
+ exportForbidden: "Le téléchargement de tous les journaux nécessite une session Unsloth connectée. Une clé d'API ne suffit pas.",
keywords: "debogage deboguer journal journaux log logs erreur erreurs plantage trace diagnostic depannage debug",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/hi.ts b/studio/frontend/src/i18n/locales/hi.ts
index 1f2a5ecfb20..ed821de20fe 100644
--- a/studio/frontend/src/i18n/locales/hi.ts
+++ b/studio/frontend/src/i18n/locales/hi.ts
@@ -248,7 +248,7 @@ export const hi = {
settings: {
accounts: {
title: "खाते",
- description: "निजी Unsloth Studio खाते बनाएँ। नए उपयोगकर्ता एक बार इस्तेमाल होने वाले सेटअप कोड से साइन इन करते हैं और पासवर्ड चुनते हैं।",
+ description: "निजी Unsloth खाते बनाएँ। नए उपयोगकर्ता एक बार इस्तेमाल होने वाले सेटअप कोड से साइन इन करते हैं और पासवर्ड चुनते हैं।",
username: "उपयोगकर्ता नाम",
create: "खाता बनाएँ",
createDescription: "सेटअप कोड साझा करें ताकि वे अपना पासवर्ड खुद चुन सकें।",
@@ -587,7 +587,7 @@ export const hi = {
openLogsFolderFailed: "लॉग फ़ोल्डर नहीं खोला जा सका।",
exportFailed: "लॉग डाउनलोड नहीं किए जा सके।",
exportTooOld: "चल रहा Unsloth बैकएंड लॉग निर्यात करने के लिए बहुत पुराना है। उस बैकएंड को अपडेट करें और पुनः आरंभ करें।",
- exportForbidden: "सभी लॉग डाउनलोड करने के लिए साइन-इन किया हुआ Unsloth Studio सत्र चाहिए। केवल API कुंजी पर्याप्त नहीं है।",
+ exportForbidden: "सभी लॉग डाउनलोड करने के लिए साइन-इन किया हुआ Unsloth सत्र चाहिए। केवल API कुंजी पर्याप्त नहीं है।",
keywords: "डिबग डिबगिंग लॉग त्रुटि गड़बड़ी क्रैश ट्रेसबैक निदान समस्या निवारण debug log logs error",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/it.ts b/studio/frontend/src/i18n/locales/it.ts
index a5649ac8cb2..791e86d10d7 100644
--- a/studio/frontend/src/i18n/locales/it.ts
+++ b/studio/frontend/src/i18n/locales/it.ts
@@ -213,7 +213,7 @@ export const it = {
settings: {
accounts: {
title: "Account",
- description: "Crea account Unsloth Studio privati. I nuovi utenti accedono con un codice di configurazione monouso e scelgono una password.",
+ description: "Crea account Unsloth privati. I nuovi utenti accedono con un codice di configurazione monouso e scelgono una password.",
username: "Nome utente",
create: "Crea account",
createDescription: "Condividi un codice di configurazione perché possa scegliere la propria password.",
@@ -552,7 +552,7 @@ export const it = {
openLogsFolderFailed: "Non è stato possibile aprire la cartella dei log.",
exportFailed: "Non è stato possibile scaricare i log.",
exportTooOld: "Il backend Unsloth in esecuzione è troppo vecchio per esportare i log. Aggiornalo e riavvialo.",
- exportForbidden: "Per scaricare tutti i log serve una sessione di Unsloth Studio con accesso eseguito. Una chiave API non basta.",
+ exportForbidden: "Per scaricare tutti i log serve una sessione di Unsloth con accesso eseguito. Una chiave API non basta.",
keywords: "debug log logs registro registri errore errori crash traccia diagnostica risoluzione dei problemi",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/ja.ts b/studio/frontend/src/i18n/locales/ja.ts
index e6689f06617..03692903789 100644
--- a/studio/frontend/src/i18n/locales/ja.ts
+++ b/studio/frontend/src/i18n/locales/ja.ts
@@ -247,7 +247,7 @@ export const ja = {
settings: {
accounts: {
title: "アカウント",
- description: "個別の Unsloth Studio アカウントを作成します。新しいユーザーは一度きりのセットアップコードでサインインし、パスワードを設定します。",
+ description: "個別の Unsloth アカウントを作成します。新しいユーザーは一度きりのセットアップコードでサインインし、パスワードを設定します。",
username: "ユーザー名",
create: "アカウントを作成",
createDescription: "セットアップコードを渡すと、本人がパスワードを設定できます。",
@@ -586,7 +586,7 @@ export const ja = {
openLogsFolderFailed: "ログフォルダーを開けませんでした。",
exportFailed: "ログをダウンロードできませんでした。",
exportTooOld: "実行中の Unsloth バックエンドが古すぎるため、ログを書き出せません。バックエンドを更新して再起動してください。",
- exportForbidden: "すべてのログをダウンロードするには、サインイン済みの Unsloth Studio セッションが必要です。API キーだけでは実行できません。",
+ exportForbidden: "すべてのログをダウンロードするには、サインイン済みの Unsloth セッションが必要です。API キーだけでは実行できません。",
keywords: "デバッグ ログ エラー クラッシュ トレースバック スタックトレース 診断 障害 調査 debug log logs error",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/ko.ts b/studio/frontend/src/i18n/locales/ko.ts
index 22384f3d35c..c2eaa9ee92d 100644
--- a/studio/frontend/src/i18n/locales/ko.ts
+++ b/studio/frontend/src/i18n/locales/ko.ts
@@ -245,7 +245,7 @@ export const ko = {
settings: {
accounts: {
title: "계정",
- description: "개별 Unsloth Studio 계정을 만듭니다. 새 사용자는 일회용 설정 코드로 로그인한 뒤 비밀번호를 정합니다.",
+ description: "개별 Unsloth 계정을 만듭니다. 새 사용자는 일회용 설정 코드로 로그인한 뒤 비밀번호를 정합니다.",
username: "사용자 이름",
create: "계정 만들기",
createDescription: "설정 코드를 전달하면 본인이 비밀번호를 정할 수 있습니다.",
@@ -584,7 +584,7 @@ export const ko = {
openLogsFolderFailed: "로그 폴더를 열 수 없습니다.",
exportFailed: "로그를 다운로드할 수 없습니다.",
exportTooOld: "실행 중인 Unsloth 백엔드가 너무 오래되어 로그를 내보낼 수 없습니다. 해당 백엔드를 업데이트한 뒤 다시 시작하세요.",
- exportForbidden: "모든 로그를 다운로드하려면 로그인된 Unsloth Studio 세션이 필요합니다. API 키만으로는 할 수 없습니다.",
+ exportForbidden: "모든 로그를 다운로드하려면 로그인된 Unsloth 세션이 필요합니다. API 키만으로는 할 수 없습니다.",
keywords: "디버그 디버깅 로그 오류 에러 충돌 스택 추적 진단 문제 해결 debug log logs error",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/pt-br.ts b/studio/frontend/src/i18n/locales/pt-br.ts
index 7b3098ebcb6..e327c9b7250 100644
--- a/studio/frontend/src/i18n/locales/pt-br.ts
+++ b/studio/frontend/src/i18n/locales/pt-br.ts
@@ -247,7 +247,7 @@ export const ptBR = {
settings: {
accounts: {
title: "Contas",
- description: "Crie contas privadas do Unsloth Studio. Novos usuários entram com um código de configuração de uso único e escolhem uma senha.",
+ description: "Crie contas privadas do Unsloth. Novos usuários entram com um código de configuração de uso único e escolhem uma senha.",
username: "Nome de usuário",
create: "Criar conta",
createDescription: "Compartilhe um código de configuração para que a pessoa escolha a própria senha.",
@@ -586,7 +586,7 @@ export const ptBR = {
openLogsFolderFailed: "Não foi possível abrir a pasta de logs.",
exportFailed: "Não foi possível baixar os logs.",
exportTooOld: "O backend do Unsloth em execução é antigo demais para exportar os logs. Atualize esse backend e reinicie.",
- exportForbidden: "Para baixar todos os logs é preciso uma sessão do Unsloth Studio conectada. Uma chave de API não basta.",
+ exportForbidden: "Para baixar todos os logs é preciso uma sessão do Unsloth conectada. Uma chave de API não basta.",
keywords: "depuracao depurar registro registros log logs erro erros falha rastreamento diagnostico solucao de problemas debug",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/ru.ts b/studio/frontend/src/i18n/locales/ru.ts
index acfbda8a84d..a89cb03d490 100644
--- a/studio/frontend/src/i18n/locales/ru.ts
+++ b/studio/frontend/src/i18n/locales/ru.ts
@@ -247,7 +247,7 @@ export const ru = {
settings: {
accounts: {
title: "Учётные записи",
- description: "Создавайте отдельные учётные записи Unsloth Studio. Новые пользователи входят по одноразовому коду настройки и задают пароль.",
+ description: "Создавайте отдельные учётные записи Unsloth. Новые пользователи входят по одноразовому коду настройки и задают пароль.",
username: "Имя пользователя",
create: "Создать учётную запись",
createDescription: "Передайте код настройки, чтобы пользователь задал собственный пароль.",
@@ -586,7 +586,7 @@ export const ru = {
openLogsFolderFailed: "Не удалось открыть папку журналов.",
exportFailed: "Не удалось скачать журналы.",
exportTooOld: "Запущенный сервер Unsloth слишком старый для экспорта журналов. Обновите его и перезапустите.",
- exportForbidden: "Для скачивания всех журналов нужен вход в сеанс Unsloth Studio. Ключа API недостаточно.",
+ exportForbidden: "Для скачивания всех журналов нужен вход в сеанс Unsloth. Ключа API недостаточно.",
keywords: "отладка журнал журналы лог логи ошибка ошибки сбой трассировка диагностика поиск неисправностей debug log",
},
voice: {
diff --git a/studio/frontend/src/i18n/locales/zh-CN.ts b/studio/frontend/src/i18n/locales/zh-CN.ts
index 37d0b4a189f..8a6756350f6 100644
--- a/studio/frontend/src/i18n/locales/zh-CN.ts
+++ b/studio/frontend/src/i18n/locales/zh-CN.ts
@@ -243,7 +243,7 @@ export const zhCN = {
settings: {
accounts: {
title: "账户",
- description: "创建独立的 Unsloth Studio 账户。新用户使用一次性设置码登录并设置密码。",
+ description: "创建独立的 Unsloth 账户。新用户使用一次性设置码登录并设置密码。",
username: "用户名",
create: "创建账户",
createDescription: "把设置码交给对方,让其自行设置密码。",
@@ -582,7 +582,7 @@ export const zhCN = {
openLogsFolderFailed: "无法打开日志文件夹。",
exportFailed: "无法下载日志。",
exportTooOld: "正在运行的 Unsloth 后端版本过旧,无法导出日志。请更新该后端并重新启动。",
- exportForbidden: "下载全部日志需要已登录的 Unsloth Studio 会话,仅有 API 密钥不够。",
+ exportForbidden: "下载全部日志需要已登录的 Unsloth 会话,仅有 API 密钥不够。",
keywords: "调试 日志 错误 崩溃 堆栈 跟踪 诊断 排查 故障 debug log logs error",
},
voice: {
diff --git a/studio/src-tauri/src/native_file_dialogs.rs b/studio/src-tauri/src/native_file_dialogs.rs
index 06b75fdac32..8141c862663 100644
--- a/studio/src-tauri/src/native_file_dialogs.rs
+++ b/studio/src-tauri/src/native_file_dialogs.rs
@@ -564,7 +564,7 @@ const NOT_THE_LOG_EXPORT: &str = "Only the local log export endpoint can be down
/// token of its own. A fixed sentence, matched structurally on the TypeScript side
/// (`DESKTOP_LOGIN_REQUIRED` in features/settings/api/debug-logs.ts) so the tab can
/// say "sign in" instead of showing a generic failure. Keep the two in step.
-const LOGIN_REQUIRED: &str = "Log export requires a signed-in Unsloth Studio session.";
+const LOGIN_REQUIRED: &str = "Log export requires a signed-in Unsloth session.";
/// Which bearer token the export is made with: a minted desktop session where one
/// exists, otherwise the tab's own.
diff --git a/studio/src-tauri/src/process.rs b/studio/src-tauri/src/process.rs
index dd27968d25e..04585701e12 100644
--- a/studio/src-tauri/src/process.rs
+++ b/studio/src-tauri/src/process.rs
@@ -518,14 +518,14 @@ fn acquire_file_studio_runtime_launch_guard(
use std::os::fd::AsRawFd;
std::fs::create_dir_all(home)
- .map_err(|error| format!("Could not create the Unsloth Studio runtime lock directory: {error}"))?;
+ .map_err(|error| format!("Could not create the Unsloth runtime lock directory: {error}"))?;
let path = home.join(".studio-runtime.lock");
let file = std::fs::OpenOptions::new()
.read(true)
.write(true)
.create(true)
.open(&path)
- .map_err(|error| format!("Could not open the Unsloth Studio runtime lock: {error}"))?;
+ .map_err(|error| format!("Could not open the Unsloth runtime lock: {error}"))?;
let result = unsafe { libc::flock(file.as_raw_fd(), libc::LOCK_EX | libc::LOCK_NB) };
if result == 0 {
return Ok(StudioManagedRuntimeLaunchGuard { file });
@@ -534,7 +534,7 @@ fn acquire_file_studio_runtime_launch_guard(
if error.kind() == std::io::ErrorKind::WouldBlock {
return Err(STUDIO_RUNTIME_GATE_BUSY.to_string());
}
- Err(format!("Could not acquire the Unsloth Studio runtime lock: {error}"))
+ Err(format!("Could not acquire the Unsloth runtime lock: {error}"))
}
#[cfg(unix)]
diff --git a/studio/src-tauri/src/staged_update.rs b/studio/src-tauri/src/staged_update.rs
index f0aeecaf829..d2e2c0fe984 100644
--- a/studio/src-tauri/src/staged_update.rs
+++ b/studio/src-tauri/src/staged_update.rs
@@ -83,7 +83,7 @@ fn reconcile_before_update_with(home: &Path, in_use: bool) -> Result<(), String>
// backend this update would replace is usually the one holding the tree.
const RESTART: &str =
"An unfinished background update from an earlier release is still waiting on a \
- running backend. Quit Unsloth Studio, reopen it, and update again.";
+ running backend. Quit Unsloth, reopen it, and update again.";
if in_use {
return Err(RESTART.to_string());
}
@@ -761,7 +761,7 @@ mod tests {
let error = reconcile_before_update_with(&home, true).unwrap_err();
// Restarting is what settles it, so the message says that and not a path.
- assert!(error.contains("Quit Unsloth Studio"), "{error}");
+ assert!(error.contains("Quit Unsloth"), "{error}");
// Nothing moved, so the launch after this one still has its decision to make.
assert_eq!(tag(&home, "unsloth_studio"), "new");
assert!(home.join(PREV_DIR).join(PENDING_MARKER).is_file());
diff --git a/tests/studio/test_tauri_branding_contract.py b/tests/studio/test_tauri_branding_contract.py
index 280126ecf85..d076a8ace02 100644
--- a/tests/studio/test_tauri_branding_contract.py
+++ b/tests/studio/test_tauri_branding_contract.py
@@ -217,6 +217,21 @@ LOCALE_REMOTE_SERVER_KEYS = frozenset(
LOCALE_KEY = re.compile(r"^(\s*)([A-Za-z_][A-Za-z0-9_]*)\s*:")
+# The Rust half of the sweep walks the whole crate rather than a hand-kept file list. The list version held six files
+# and let two live violations through: native_file_dialogs.rs owned the log-export sentinel the settings tab renders,
+# and staged_update.rs told the user to "Quit Unsloth Studio" when the app they are looking at is called Unsloth.
+# Neither file was on the list, so neither was ever asked.
+RUST_SOURCES = TAURI / "src"
+
+# Lines allowed to carry the display name, matched whole and stripped so the exemption cannot widen by editing around
+# it. This is transcribed output, not copy: the AMSI provider really printed that line, and rewriting it would make the
+# fixture stop reproducing the error it was captured from (#8523).
+RUST_VERBATIM_LINES = frozenset(
+ {
+ '"+ # Unsloth Studio Installer for Windows PowerShell",',
+ }
+)
+
def locale_entries(text: str) -> list[tuple[str, str]]:
"""Every leaf entry of a locale module as (dotted key path, value text).
@@ -251,6 +266,21 @@ def locale_entries(text: str) -> list[tuple[str, str]]:
return out
+def rust_branding_offenders() -> list[str]:
+ """Every crate line naming the display name, bar the transcribed ones.
+
+ Line granularity rather than file granularity so one verbatim fixture does not buy its
+ whole file an exemption: install.rs holds captured AMSI stderr, and the rest of install.rs
+ is still ordinary user-facing Rust that has to obey the contract.
+ """
+ return [
+ f"{path.relative_to(REPO)}:{number}"
+ for path in sorted(RUST_SOURCES.rglob("*.rs"))
+ for number, line in enumerate(read(path).splitlines(), start = 1)
+ if "Unsloth Studio" in line and line.strip() not in RUST_VERBATIM_LINES
+ ]
+
+
def test_desktop_surfaces_do_not_restore_studio_branding() -> None:
# The desktop app displays itself as "Unsloth", never "Unsloth Studio". The i18n catalogs are swept by key rather
# than by file: a handful of entries have to name the *remote server* a user points the app at, which genuinely is
@@ -258,10 +288,6 @@ def test_desktop_surfaces_do_not_restore_studio_branding() -> None:
display_sources = [
TAURI / "Info.plist",
TAURI / "capabilities/default.json",
- TAURI / "src/main.rs",
- TAURI / "src/process.rs",
- TAURI / "src/diagnostics/report.rs",
- TAURI / "src/diagnostics/phase_log.rs",
TAURI / "windows/sign-with-trusted-signing.ps1",
REPO / ".github/workflows/release-desktop.yml",
FRONTEND / "index.html",
@@ -276,6 +302,10 @@ def test_desktop_surfaces_do_not_restore_studio_branding() -> None:
str(path.relative_to(REPO)) for path in display_sources if "Unsloth Studio" in read(path)
]
+ # The crate is swept whole. The four Rust files that used to be named here are still covered, and so is every
+ # other one: a user-facing sentence is not likelier to be right for having been added to a file nobody listed.
+ offenders += rust_branding_offenders()
+
# The locale catalogs are swept too, just at key granularity rather than file granularity, so only the remote-server
# prose is spared.
offenders += [
@@ -291,6 +321,50 @@ def test_desktop_surfaces_do_not_restore_studio_branding() -> None:
assert '--title "Unsloth Desktop updater channel"' not in workflow
+def test_the_branding_sweep_still_covers_the_crate() -> None:
+ """The Rust half has to keep walking a real tree, and the exemption has to stay verbatim.
+
+ The failure this guards is the one the hand-kept list actually produced: a sweep that looks
+ thorough while never reading the file the offending sentence lives in. Here that shape would
+ be an rglob that returns nothing after a crate reshuffle, which reports zero offenders and
+ passes.
+ """
+ swept = sorted(RUST_SOURCES.rglob("*.rs"))
+ assert RUST_SOURCES.is_dir(), f"the crate source root moved: {RUST_SOURCES}"
+ assert len(swept) >= 25, f"the crate sweep collapsed to {len(swept)} files"
+
+ # The two that the old list omitted, named so a reshuffle that drops them is not silent.
+ for name in ("native_file_dialogs.rs", "staged_update.rs", "process.rs", "main.rs"):
+ assert any(path.name == name for path in swept), f"{name} left the sweep"
+
+ # An exemption for a line no longer in the tree is an exemption nobody re-read. It has to be
+ # spent, and spent on the fixture it was written for.
+ present = {
+ line.strip()
+ for path in swept
+ for line in read(path).splitlines()
+ if "Unsloth Studio" in line
+ }
+ assert (
+ RUST_VERBATIM_LINES <= present
+ ), f"stale Rust exemptions: {sorted(RUST_VERBATIM_LINES - present)}"
+ assert (
+ len(RUST_VERBATIM_LINES) < 5
+ ), "the verbatim allowlist is for transcribed output, not copy"
+
+ # Nothing is dropped beyond the allowlist: every raw hit is either reported or exempt. A filter
+ # that quietly skipped a directory, a file extension or a line shape would show up here as a
+ # raw count the reported and exempt ones do not add back up to.
+ raw = [
+ line.strip()
+ for path in swept
+ for line in read(path).splitlines()
+ if "Unsloth Studio" in line
+ ]
+ exempt = [line for line in raw if line in RUST_VERBATIM_LINES]
+ assert len(raw) - len(exempt) == len(rust_branding_offenders())
+
+
def test_the_branding_sweep_still_covers_the_frontend() -> None:
"""The locale exemption must stay narrow.