diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-30 17:37:46 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-30 17:37:46 +0100 |
| commit | ab537892a9337a13c4d802185e5565ca70027679 (patch) | |
| tree | 8d662736881cc058fa35f2fc42d0926c41fefa66 /desktop/modules/ai/ai-state.sh | |
| parent | 412dec827b5d87c4138491faf49a0babb229f7e2 (diff) | |
| download | quickshell-ab537892a9337a13c4d802185e5565ca70027679.tar.gz quickshell-ab537892a9337a13c4d802185e5565ca70027679.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/ai/ai-state.sh')
| -rwxr-xr-x | desktop/modules/ai/ai-state.sh | 11 |
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 |
