Enha (llama.cpp): show loaded model on startup

This commit is contained in:
Grail Finder
2026-03-01 08:22:02 +03:00
parent 1f112259d2
commit cdfccf9a24
6 changed files with 37 additions and 43 deletions

View File

@@ -27,7 +27,6 @@ func startModelColorUpdater() {
go func() {
ticker := time.NewTicker(5 * time.Second)
defer ticker.Stop()
// Initial check
updateCachedModelColor()
for range ticker.C {
@@ -42,7 +41,6 @@ func updateCachedModelColor() {
cachedModelColor = "orange"
return
}
// Check if model is loaded
loaded, err := isModelLoaded(chatBody.Model)
if err != nil {