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.

Add sloth emoji to section labels, friendlier network error

Daniel Han2642f6d21d70
diff --git a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
index 22a1cb7e72e..6baeb9b55ba 100644
--- a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
+++ b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
@@ -495,7 +495,7 @@ export function HubModelPicker({
<div className="p-1">
{!showHfSection && (cachedGguf.length > 0 || cachedModels.length > 0) ? (
<>
- <ListLabel>Downloaded</ListLabel>
+ <ListLabel>{"\uD83E\uDDA5"} Downloaded</ListLabel>
{cachedGguf.map((c) => (
<div key={c.repo_id}>
<ModelRow
@@ -525,7 +525,7 @@ export function HubModelPicker({
{!showHfSection ? (
<>
- <ListLabel>Recommended</ListLabel>
+ <ListLabel>{"\uD83E\uDDA5"} Recommended</ListLabel>
{recommendedIds.length === 0 ? (
<div className="px-2.5 py-2 text-xs text-muted-foreground">
No default models.
diff --git a/studio/frontend/src/features/auth/api.ts b/studio/frontend/src/features/auth/api.ts
index e2e49329360..3bb2c9139cc 100644
--- a/studio/frontend/src/features/auth/api.ts
+++ b/studio/frontend/src/features/auth/api.ts
@@ -84,7 +84,15 @@ export async function authFetch(
headers.set("Authorization", `Bearer ${accessToken}`);
}
- const response = await fetch(input, { ...init, headers });
+ let response: Response;
+ try {
+ response = await fetch(input, { ...init, headers });
+ } catch (err) {
+ if (err instanceof TypeError) {
+ throw new Error("Studio isn't running -- please relaunch it.");
+ }
+ throw err;
+ }
if (await isPasswordChangeRequiredResponse(response)) {
void redirectToAuth();
return response;