merlyn/frontend
Morgan 4cd3c77893
fix: show actionable error when LMStudio model listing fails or returns empty (#5131)
* fix: show actionable error when LMStudio model listing fails or returns empty

When the model listing request completes but returns no models (due to
connection failure, wrong URL, or server unreachable), the dropdown now
shows "No models found — check LMStudio is running and accessible"
instead of "--loading available models--", making it possible to
distinguish a failed request from one still in progress.

Affects both LLM and embedding provider selection components.

Closes recurring UX confusion reported in #3519, #1338, #3656.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* UI warning tooltip

---------

Co-authored-by: Morgan Giddings <morgan@MG-Mac-Studio.home.arpa>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-03-04 14:10:57 -08:00
..
public normalize logo wordmark 2026-02-11 08:53:44 -08:00
scripts Enable editing and setting of meta-tag information (#1892) 2024-07-19 15:58:43 -07:00
src fix: show actionable error when LMStudio model listing fails or returns empty (#5131) 2026-03-04 14:10:57 -08:00
.env.example chore: rename Github to GitHub (#3199) 2025-02-13 10:45:43 -08:00
.gitignore Icon Button Tooltips (#1451) 2024-05-18 23:29:23 -05:00
.nvmrc dev build with new epub2 build target and remove patch work (#4694) 2025-11-26 17:36:34 -08:00
eslint.config.js feat: Enable essential ESLint rules and refactor frontend lint config (#4923) 2026-01-29 17:01:39 -08:00
index.html 4595 refactor PWA (#4664) 2025-11-19 16:08:09 -08:00
jsconfig.json [FEAT] Agent skills UI redesign (#1565) 2024-06-12 10:52:32 -07:00
package.json feat: Enable essential ESLint rules and refactor frontend lint config (#4923) 2026-01-29 17:01:39 -08:00
postcss.config.js inital commit 2023-06-03 19:28:07 -07:00
tailwind.config.js 4595 refactor PWA (#4664) 2025-11-19 16:08:09 -08:00
vite.config.js Add piperTTS in-browser text-to-speech (#2052) 2024-08-07 11:09:51 -07:00
yarn.lock feat: Enable essential ESLint rules and refactor frontend lint config (#4923) 2026-01-29 17:01:39 -08:00