24 lines
1.3 KiB
Markdown
24 lines
1.3 KiB
Markdown
## MODIFIED Requirements
|
|
|
|
### Requirement: Runtime Model Discovery Includes Local Readiness
|
|
The system SHALL include local runtime readiness and model acquisition state when exposing runtime-discovered local models.
|
|
|
|
#### Scenario: Local image model is downloaded but runtime is stopped
|
|
- **GIVEN** a ComfyUI model file is present in the managed model directory
|
|
- **AND** ComfyUI is installed but not running
|
|
- **WHEN** runtime model discovery builds local image model entries
|
|
- **THEN** the model SHALL remain discoverable as installed
|
|
- **AND** its readiness metadata SHALL indicate that the runtime must be started before generation
|
|
|
|
#### Scenario: Local model is still downloading
|
|
- **GIVEN** a model download task is running or resumable
|
|
- **WHEN** Model Center requests model assets
|
|
- **THEN** the model asset SHALL include download status and progress metadata
|
|
- **AND** final generation selectors SHALL not treat the model as runnable until installation/discovery is complete
|
|
|
|
#### Scenario: Download source changes
|
|
- **GIVEN** the user changes the Hugging Face endpoint or mirror in Model Center
|
|
- **WHEN** runtime model discovery or model download preflight runs
|
|
- **THEN** the selected source SHALL be reflected in model asset metadata and future download tasks
|
|
- **AND** already installed models SHALL remain usable without requiring re-download
|