The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
docs(v2.4.7): add Bug Q (LM Studio server-off hint) to CHANGELOG + README
purple4cb81035854d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ca6f207e..f2b639e5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -22,6 +22,10 @@ Drop-in hotfix on top of v2.4.6. Five bugs: four user-reported (M — Discord ni- **Anthropic provider no longer double-prefixes `/v1` when the user's baseUrl already ends in `/v1`** (Bug O — 0yagizz Discord 2026-05-18). Pre-v2.4.7 the provider unconditionally appended `/v1/messages` to the configured baseUrl. Users pointing the Anthropic provider at a proxy (claude-relay-server, LiteLLM, opencode-zen) sometimes paste a baseUrl with `/v1` already in the path — the proxy operator pinned the API version in their docs — and got back a silent 404 on `https://proxy.example/v1/v1/messages`. v2.4.7 collapses the second `/v1` via a new `messagesUrl()` helper that drops a trailing `/v1` before appending `/messages`. The default `https://api.anthropic.com` shape still produces the canonical `/v1/messages`, and `https://proxy.example/api-v1` (different non-suffix path that happens to contain "v1") still gets the standard `/v1/messages` append. Five new vitest cases cover both proxy shapes, trailing-slash tolerance, the default Anthropic URL, and the defensive non-suffix-`v1` case. OpenRouter half of 0yagizz's original report is still under investigation pending more F12-console context from the reporter — that path lands in v2.4.8 if it turns out to need a code change rather than a config one.+### Fixed — LM Studio model picker++- **Chat model picker now surfaces a "Start LM Studio Server" hint when LM Studio is installed but its server is off** (Bug Q — wakeywakeynow GH #41, 2026-05-19). Symptom: user has LM Studio installed with models on disk, opens LU's model picker, sees only Ollama models, no clue that LM Studio is missing because its server stopped. Root cause is straightforward: LM Studio's HTTP server doesn't auto-start with the app — the user has to run `lms server start` or click Developer → Start Server in the LM Studio UI. With the server off, LU's openai-compat probe gets no models and silently drops the LM Studio backend from the picker. v2.4.4 added the same hint to onboarding, but onboarding only runs once on first launch — returning users hit a stopped server with no visible signal. v2.4.7 wires the existing `lmstudio_server_status` Tauri command into `ModelSelector`'s dropdown and renders an inline banner with a working "Start LM Studio Server" button when `(lms_present || models_detected) && !running`. The button calls the existing `start_lmstudio_server` Tauri command, polls status for up to ~6 s for the server to bind 1234, then triggers a fresh `fetchModels()` so the LM Studio models appear in the dropdown without an LU restart. Live E2E in release build: with LM Studio server stopped, picker shows the banner with the right on-disk model count ("5 models on disk"). Clicking the button starts the server, the banner replaces itself with the LM Studio models, no app restart required.+### Fixed — image / video timeouts- **Image and video generation timeouts are now user-configurable** (Bug P — ake0n_official Discord #help-chat, 2026-05-19). Pre-v2.4.7 image gens timed out at a hard-coded 20 min and video at 60 min. That was a sane default for desktop NVIDIA hardware but actively painful for the CPU-only / iGPU edge: ake0n_official's 12th-gen Intel Core + Intel UHD Graphics (128 MB allotment) finished sampling step 9 of 25 on a 1024 px Juggernaut-XL run before the 20-minute cap killed the job mid-sampler, with no way to recover the partial work. v2.4.7 adds `imageGenTimeoutMinutes` and `videoGenTimeoutMinutes` to `types/settings.ts` with defaults 20 and 60 (matching pre-v2.4.7 behavior on fresh installs and via the persisted-store migration), reads them in `useCreate.generate()` with a `Math.max(1, …)` clamp to prevent footguns from a 0-min input, and surfaces both as numeric inputs in `SettingsPage`'s new "Image / Video Generation Timeouts" section with an explanatory blurb naming the iGPU / CPU-only use case directly. Users on slow hardware can now bump both caps as needed (range 1–480 min); fast-GPU users see no change.diff --git a/README.md b/README.mdindex f3db1d58..97edfc9c 100644--- a/README.md+++ b/README.md@@ -37,15 +37,16 @@ No cloud. No data collection. No API keys. Auto-detects 12 local backends. Your## v2.4.7 — Current Release-**Hotfix: 5 fixes on top of v2.4.6.** Four user-reported, one internal hardening.+**Hotfix: 6 fixes on top of v2.4.6.** All user-reported.Auto-update prompts on next launch.### What's fixed-- **Benchmark tok/s now matches actual chat throughput** (Bug M — nightmare13740 Discord). Pre-v2.4.7 the benchmark counted time-to-first-token + stream init in the tok/s denominator, so any local model looked slower in the Benchmark tab than in real chat. On nightmare13740's RTX 4070 Laptop 8 GB + gemma4:e4b: ollama CLI 30 tok/s, manual chat 23–25 tok/s, pre-v2.4.7 benchmark 12 tok/s. v2.4.7 starts the clock at first-token-received so generation-phase throughput matches CLI / chat baselines; TTFT continues to surface as its own stat.+- **Benchmark tok/s now matches actual chat throughput** (Bug M — nightmare13740 Discord). Pre-v2.4.7 the benchmark counted time-to-first-token + stream init in the tok/s denominator, so any local model looked slower in the Benchmark tab than in real chat. On nightmare13740's RTX 4070 Laptop 8 GB + gemma4:e4b: ollama CLI 30 tok/s, manual chat 23–25 tok/s, pre-v2.4.7 benchmark 12 tok/s. v2.4.7 starts the clock at first-token-received and (for Ollama) prefers the server-reported `eval_count` / `eval_duration` from the final stream chunk, with a wall-clock fallback for OpenAI-compat providers when streaming gets buffered. End result: benchmark matches CLI / chat baselines on every provider.- **Windows ComfyUI install probes `git --version` before clone** (Bug N — juliandiggins-stack GH #40). If a WSL / Linux-mounted git is first on PATH, the previous code let the clone start and die mid-flight with cryptic stderr. New tri-state probe (Native / NonNative / Missing) either proceeds silently, surfaces a clear "install Git for Windows" hint when missing, or logs a soft warning when a non-native git might still work.- **Anthropic custom-proxy provider no longer double-prefixes `/v1`** (Bug O — 0yagizz Discord). Users pointing the Anthropic provider at a proxy (claude-relay-server, LiteLLM, opencode-zen) whose docs end the baseUrl with `/v1` got a silent 404 on `…/v1/v1/messages`. v2.4.7 collapses the duplicate.- **Image / video generation timeouts now configurable in Settings** (Bug P — ake0n_official Discord). CPU-only / iGPU users finished sampling mid-run when the previous hard-coded 20-min image cap hit. v2.4.7 surfaces both image and video timeouts as numeric inputs (defaults stay 20 min / 60 min, range 1–480 min).+- **Chat model picker surfaces "Start LM Studio Server" inline when LM Studio is installed but its server is off** (Bug Q — wakeywakeynow GH #41). Symptom was "i am running lm studio but i can't choose any models i have installed!!!!" — root cause: LM Studio's HTTP server doesn't auto-start with the app, so the user has models on disk but the model picker silently dropped LM Studio. v2.4.7 detects the installed-but-off state and renders an inline banner in the picker with a working Start Server button; clicking it kicks off the LM Studio server via the existing `start_lmstudio_server` Tauri command and re-populates the model list without restarting LU.- **Custom ComfyUI save nodes' outputs now surface in LU's gallery** (Bug R — silentrunningcaUSA GH Discussion #6). Pre-v2.4.7 LU only scraped `images` / `gifs` / `videos` from the history payload, missing every community workflow that uses a non-canonical save node (audio, custom metadata, CivitAI flows). v2.4.7 generic extractor accepts any keyed array of file-shaped objects.### Stability@@ -57,7 +58,7 @@ Auto-update prompts on next launch.### Heads-upv2.4.7 is a Windows + Linux release; macOS is not part of this build. `#bug-reports` / `#help-*` / GitHub will be monitored daily for regression reports.-Still investigating: OpenRouter half of 0yagizz's report (needs F12 console output to repro); wakeywakeynow's LM-Studio-model-picker GH #41 (most plausible cause is LM Studio server stopped between sessions — needs reporter confirmation). Both carried into v2.4.8 outreach queue.+Still investigating: OpenRouter half of 0yagizz's report (needs F12 console output to repro). Carried into v2.4.8 outreach queue.For previous release notes (v2.4.6 — 1 bug, v2.4.5 — 14 bugs), see [CHANGELOG.md](CHANGELOG.md).