#5884 [GUI] newSession keeps the model the composer shows
closed · @FluxNimbusAi · 0 commentaires · Sur GitHub
BenchmarksNVIDIA / CUDASecurityWindowsLinux
Description
## Problem `newSession()` inherits `remoteModel` only when `state.activeSession === null`. After any chat has been opened, 'New chat' silently reverts to a default model instead of keeping the model the user chose — surprising behavior the user can't see in settings. ## Fix One condition dropped in `apps/host/src/lib/store.ts`: the composer's shown model is the model a new chat should start on. 1 file, +2/-1. ## Repro (street-verified) Open chat A on model X → New chat → composer showed default, not X. Expected: inherit X. ## Validation **Revision tested:** PR head at push (single commit, `apps/host/src/lib/store.ts`, +2/−1). **Environment:** Windows 11, RTX 3090 + 3080 Ti, engine 0.1.55, always-on agentic load (FluxNimbusAi field node). - **Passed — street repro before fix:** chat on model X → New chat → composer shows default (bug confirmed). After patch: new chat inherits X. Confirmed by field tester on live GUI. - **Passed — CI at push:** `check` success, `sweep` skipped (`sweep skipping` noted in original body; check pass alone does not establish hardware correctness per CONTRIBUTING.md — the street repro above is the behavioral evidence). - **Not run:** benchmark sweep (not required for this fix class); Linux path (Windows-only field node). ## Notes - Related to #5750 (same root condition); this PR stands alone per CONTRIBUTING.md (one problem per PR). - Co-authored-by: Xixi <[email protected]> (analysis), Flux (fix + verification).
Sur le site
Liens install, modèles, releases.