You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(app): select an LLM and an image model together (hybrid serve)
The server already supports LUMEN_SERVE=chat|image|hybrid, but the desktop
app stored a single `active_model` and launched with a binary `image_mode`,
so picking an image model overwrote the LLM and hybrid was unreachable.
- Split selection into two independent config slots: `active_model` (LLM) and
`active_image_model` (diffusion). `#[serde(default)]` keeps old configs
loadable. Each card toggles its own slot (click again to deselect), so all
four combinations are reachable: chat, image, hybrid, or none.
- `start_server` derives the serve mode from the two slots and launches the
server accordingly (both set → hybrid). New `ServeKind` enum replaces the
`image_mode` bool through `Supervisor::start` / `apply_env`.
- `apply_env` now passes `IMAGE_MODEL_ID` (the server reads this — not
MODEL_ID — for the diffusion backend). This also fixes a latent bug where
selecting the bf16 `black-forest-labs/FLUX.2-dev` silently fell back to the
4-bit default because the id never reached the server. The wired-memory cap
is skipped whenever diffusion is loaded (image or hybrid), not just image.
- Start button is disabled (with a tooltip) when neither slot is set, matching
the server-side guard. en/ko strings for the new deselect / no-model states.
chore(release): v0.11.1
"imageModels.overBudget": "Larger than this Mac's RAM — generation may swap or fail.",
275
280
"imageModels.action.title.overBudget": "Exceeds this Mac's RAM budget",
276
-
"imageModels.startHint": "Press Start to launch the server in image mode, then a generation panel appears below.",
281
+
"imageModels.action.title.deselect": "Click to deselect this image model",
282
+
"imageModels.startHint": "Press Start to launch the server in image mode, then a generation panel appears below. Selecting an LLM as well launches hybrid mode (both serve at once).",
0 commit comments