diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-03-04 11:25:13 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-03-04 11:25:13 +0300 |
| commit | abcaad66093bdf9a98f10c909a05ab1ebcb431f3 (patch) | |
| tree | c1c4d9d30ef13a2aca63c4b6b1a74a7ccea556e9 /props_table.go | |
| parent | 50ce0200af5648818e6e4f51d6541bd3bdb7e036 (diff) | |
Enha: native notification implementation
Diffstat (limited to 'props_table.go')
| -rw-r--r-- | props_table.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/props_table.go b/props_table.go index f8432cd..ec66812 100644 --- a/props_table.go +++ b/props_table.go @@ -259,9 +259,7 @@ func makePropsTable(props map[string]float32) *tview.Table { // Handle nil options if data.Options == nil { logger.Error("options list is nil for", "label", label) - if err := notifyUser("Configuration error", "Options list is nil for "+label); err != nil { - logger.Error("failed to send notification", "error", err) - } + showToast("Configuration error", "Options list is nil for "+label) return } @@ -279,9 +277,7 @@ func makePropsTable(props map[string]float32) *tview.Table { message = "No llama.cpp models loaded. Ensure llama.cpp server is running with models." } } - if err := notifyUser("Empty list", message); err != nil { - logger.Error("failed to send notification", "error", err) - } + showToast("Empty list", message) return } // Create a list primitive |
