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.

fix: remove unused warmupToastShown variable to fix TS6133 build error (#4353)

Roland Tannousdf01a139a009
diff --git a/studio/frontend/src/features/chat/api/chat-adapter.ts b/studio/frontend/src/features/chat/api/chat-adapter.ts
index 5686a61d125..3e689c11dc8 100644
--- a/studio/frontend/src/features/chat/api/chat-adapter.ts
+++ b/studio/frontend/src/features/chat/api/chat-adapter.ts
@@ -484,12 +484,10 @@ export function createOpenAIStreamAdapter(): ChatModelAdapter {
rejectFirstToken?.(err);
}
- let warmupToastShown = false;
const warmupDelayMs = 450;
const warmupTimer = setTimeout(() => {
if (!waitingFirstChunk) return;
if (abortSignal.aborted) return;
- warmupToastShown = true;
runtime.setGeneratingStatus("waiting");
}, warmupDelayMs);
runtime.setThreadRunning(threadKey, true);