From ab537892a9337a13c4d802185e5565ca70027679 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 30 Oct 2026 17:37:46 +0100 Subject: ai: drop local chat local-chat (llamachat) is archived and uninstalled, superseded by desktop-assistant, so its row could only ever read stopped and its buttons called a command that no longer exists. Also folds the control comment that described llamachat's restart dance down to one line. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/ai/ai-state.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'desktop/modules/ai/ai-state.sh') diff --git a/desktop/modules/ai/ai-state.sh b/desktop/modules/ai/ai-state.sh index a4406ce..9ee0d51 100755 --- a/desktop/modules/ai/ai-state.sh +++ b/desktop/modules/ai/ai-state.sh @@ -12,17 +12,16 @@ # GNU General Public License for more details. # # One sweep of the local AI stack for the drawer's AI page. Always prints -# these four lines, tab separated, and exits 0: +# these three lines, tab separated, and exits 0: # # enginellamaup|downidle|busymodel # enginesdup|downidle|busymodel, "(sd-cli)" for a CLI run # appassistantrunning|stopped- -# appchatrunning|stopped- # # An empty value is "-". A probe that fails reads as down or stopped, not as # an error: every row is something that may simply not be running. # -# The test stubs curl, pgrep and llamachat on PATH and points +# The test stubs curl and pgrep on PATH and points # AI_ASSISTANT and AI_SD_LOG at fixtures; see test-ai-state.sh. set -u @@ -84,12 +83,6 @@ apps() { else row app assistant stopped - fi - - if llamachat --ping >/dev/null 2>&1; then - row app chat running - - else - row app chat stopped - - fi } llama -- cgit v1.2.3