project-nomad/admin/app/services
John Onysko 2d3e76a2b2 fix(chat): prefer selected model for suggestions, fall back to smallest
`getChatSuggestions` previously picked the largest installed model by file
size, on the assumption that bigger models give better suggestions. This
is unsafe: if any installed model exceeds available VRAM (e.g.
llama3.1:405b on a 96 GB GPU), Ollama spends minutes trying to load it
and the request 500s — making the chat page unusable for anyone who
happens to keep a flagship-sized model on disk.

Chat suggestions are short prompts that don't benefit from a flagship
model anyway. Prefer the user's selected `chat.lastModel` when set, and
fall back to the smallest installed model otherwise. `OllamaService.getModels()`
already excludes embedders, so the fallback always picks a chat model.
2026-06-08 19:37:27 -07:00
..
app_auto_update_service.ts feat(supply-depot): opt-in automatic updates for installed apps 2026-06-07 15:56:42 -07:00
auto_update_service.ts feat(supply-depot): opt-in automatic updates for installed apps 2026-06-07 15:56:42 -07:00
benchmark_service.ts fix(docker): reject failed image pulls instead of treating them as success 2026-06-08 15:27:46 -07:00
chat_service.ts fix(chat): prefer selected model for suggestions, fall back to smallest 2026-06-08 19:37:27 -07:00
collection_manifest_service.ts fix(content): narrow Wikipedia reconcile-skip to the managed selection file 2026-06-08 18:24:01 -07:00
collection_update_service.ts feat(content-updates): show size, surface downloads in Active Downloads 2026-05-20 10:16:00 -07:00
container_registry_service.ts fix(updates): resolve relative registry pagination URL so tag listing doesn't crash (#945) 2026-06-08 19:08:03 -07:00
countries_service.ts feat(Maps): regional map downloads via go-pmtiles extract (#780) 2026-05-20 10:16:00 -07:00
custom_app_guard.ts feat: supply depot 2026-06-06 11:08:52 -07:00
docker_service.ts fix(system): disable Update button while a service update is in flight (#931) 2026-06-08 15:54:59 -07:00
docs_service.ts feat(supply-depot): per-app onboarding docs, install fixes, and in-app Docs links 2026-06-06 11:08:52 -07:00
download_service.ts feat(Maps): regional map downloads via go-pmtiles extract (#780) 2026-05-20 10:16:00 -07:00
kiwix_library_service.ts fix(kiwix): self-heal a missing or corrupt library XML on startup 2026-06-08 15:45:06 -07:00
map_service.ts fix(maps): dedupe map sources by region so duplicate files don't blank the map 2026-06-08 18:57:33 -07:00
ollama_service.ts fix(AI): truncate-and-retry oversized embed chunks; stop 30x retry storm (#881) 2026-06-08 18:52:54 -07:00
queue_service.ts fix(queue): singleton QueueService to stop ioredis connection leak 2026-05-20 10:16:00 -07:00
rag_service.ts fix(KB): stop partial_stall warning firing on atypical ZIMs (link-out/PDF-heavy) 2026-06-08 14:23:40 -07:00
system_service.ts feat(supply-depot): add custom launch URLs for apps 2026-06-08 15:35:44 -07:00
system_update_service.ts feat(system): add opt-in automatic updates for the core NOMAD app 2026-06-07 15:52:56 -07:00
zim_extraction_service.ts fix(RAG): report ZIM ingestion progress in overall-file frame 2026-05-20 10:16:00 -07:00
zim_service.ts feat(zim): add "Rescan Library" button for sideloaded ZIM files 2026-06-06 11:04:53 -07:00