Repository navigation
feat(ui): load selected models before generation and edit idle TTL - #11
Open
ampersandru wants to merge 3 commits into
Open
ampersandru wants to merge 3 commits into
ampersandru wants to merge 3 commits into
Conversation
Closed
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a selected model is asleep or unloaded, the disabled Generate button prevents generating even though its recipe/component selection is still available. This adds Load & Generate: load the current selection, wait for readiness, then submit the current prompt with its generation settings preserved. Loading failures stop submission and show the error.
Requires the additive model-status/settings API in leejet/stable-diffusion.cpp#2385. Related: leejet/stable-diffusion.cpp#2239 and the reload problem reported in leejet/stable-diffusion.cpp#2243. TTL settings are unavailable on servers that do not expose the new value. The main server PR intentionally leaves the frontend submodule pin unchanged for normal upstream synchronization.
Verification: merged with current upstream
c870e1c;vue-tsc --noEmit, Vite production build and embedded-header generation passed. The earlier Docker revision was tested by the contributor in the native UI. Local checks covered readiness states, selected component matching, load-before-submit ordering, preserved prompt/settings, explicit unload, switching recipes, failed loading without submission, and runtime TTL editing. The merged revision has not been rerun on the CUDA server yet.Developed with AI assistance. No generated frontend output or local test artifacts are included.