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: collapse the resume guard comment

danielhanchen1d3dbce95221
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index 7b331981334..8d83a384c6c 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.tsx
@@ -1354,8 +1354,7 @@ function resumePromptQueueRun(threadIds?: string[]) {
continue;
}
run.paused = false;
- // prevStoreRunning is recorded before the paused early-return, so a stale rising
- // edge would let the next idle edge skip a prompt. The other two are defensive.
+ // prevStoreRunning outlives the paused early-return; a stale edge skips a prompt.
run.waitingForTargetIdle = false;
run.prevStoreRunning = false;
clearPromptQueueRetryTimer(run);