mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-12 17:30:45 +00:00
The list-models pipeline already served LKG on failure; this wires the rest of the LKG-first, manual-refresh policy end to end. Main: the list-models IPC accepts a force flag — manual refresh always skips the in-memory cache and the persisted entry and goes live, and a forced success overwrites the persisted catalog. Renderer: the panel passes force only from the retry banner and the picker's refresh button; panel-visibility and send-preflight loads stay non-force and replay the renderer cache, so with a persisted catalog main answers them without spending the live-fetch budget. Picker: a footer refresh icon-button next to the status chip, visible whenever any fetched catalog (live or last-known-good) or the degraded warning is present; the spinner row remains the in-flight feedback. Tooltip localized as ai.chat.refreshModelList in en/es/ru/zh-CN/zh-TW. Fresh installs are unchanged (no persisted entry → live fetch as before); existing users stop seeing jitter warnings on panel open and pick up new CLI models via the refresh button.