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.

Unused return value causes build failures (#4385)

Coenraad Loubserca8766993720
diff --git a/studio/frontend/src/features/chat/shared-composer.tsx b/studio/frontend/src/features/chat/shared-composer.tsx
index 018c3ba4106..89b65d4d99e 100644
--- a/studio/frontend/src/features/chat/shared-composer.tsx
+++ b/studio/frontend/src/features/chat/shared-composer.tsx
@@ -363,8 +363,8 @@ export function SharedComposer({
// Side 1: load → generate → wait
if (handle1 && model1?.id) {
toast("Loading Model 1…", { id: toastId, description: name1, duration: Infinity });
- const status = await ensureModelLoaded(model1);
- toast("Generating with Model 1…", { id: toastId, description: name1, duration: Infinity });
+ const status1 = await ensureModelLoaded(model1);
+ toast("Generating with Model 1…", { id: toastId, description: `${name1} (${status1})`, duration: Infinity });
const done = handle1.waitForRunEnd();
handle1.startRun();
await done;
@@ -377,8 +377,8 @@ export function SharedComposer({
if (needsLoad) {
toast("Loading Model 2…", { id: toastId, description: name2, duration: Infinity });
}
- await ensureModelLoaded(model2);
- toast("Generating with Model 2…", { id: toastId, description: name2, duration: Infinity });
+ const status2 = await ensureModelLoaded(model2);
+ toast("Generating with Model 2…", { id: toastId, description: `${name2} (${status2})`, duration: Infinity });
const done = handle2.waitForRunEnd();
handle2.startRun();
await done;