aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/ai/ai-state.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/ai/ai-state.sh')
-rwxr-xr-xdesktop/modules/ai/ai-state.sh11
1 files changed, 2 insertions, 9 deletions
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:
#
# engine<TAB>llama<TAB>up|down<TAB>idle|busy<TAB>model
# engine<TAB>sd<TAB>up|down<TAB>idle|busy<TAB>model, "(sd-cli)" for a CLI run
# app<TAB>assistant<TAB>running|stopped<TAB>-
-# app<TAB>chat<TAB>running|stopped<TAB>-
#
# 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