unsloth/studio/frontend/src/app
Daniel Han 18f9510d11 Address a further round of Codex review findings on the image PR
Backend:
- validate_load_request rejects a non-.gguf single-file name before the GPU
  handoff, so a family-looking repo paired with README.md no longer evicts the
  chat model and only fails in the background load.
- detect_family scopes the edit/kontext/inpaint keyword check to the model id
  or filename basename, not arbitrary parent directories, so a valid
  text-to-image file under a folder named edit is no longer rejected.
- the images gallery listing skips records that fail schema validation, so one
  corrupt or hand-dropped PNG can no longer 500 the whole endpoint.
- _terminate reaps the killed sd-cli child so cancellation and timeout paths do
  not leak zombie process-table entries.
- the images load route gates the chat-eviction handoff on the resolved device
  being non-CPU, so a CPU-only diffusers fallback no longer evicts a resident
  chat model for a load that cannot use the GPU.

Frontend:
- treat Images as a chat-like full-height route (no outer padding or scroll) so
  its picker is not pushed down and the gallery is not clipped.
- allow /images under the chat-only guard so the native CPU/MPS image path is
  reachable on the no-GPU hosts it was built for.
- roll the optimistic quant label back when a same-repo swap fails after the
  load started, so the selector never advertises a quant that is not loaded.
2026-07-02 05:41:23 +00:00
..
routes Address a further round of Codex review findings on the image PR 2026-07-02 05:41:23 +00:00
app.tsx Update license headers 2026-03-12 17:23:10 +00:00
auth-guards.ts studio/frontend: reconcile stale must_change_password localStorage flag (#5576) 2026-05-19 05:48:46 -07:00
provider.tsx Speed up Studio desktop startup (#6742) 2026-06-29 15:27:39 +02:00
router.tsx Studio: local diffusion image generation page 2026-06-23 00:39:36 -03:00