From ba9558ba30493353f77640ea4e9a13a1d85ed17f Mon Sep 17 00:00:00 2001 From: rope Date: Sun, 2 Aug 2026 10:46:55 +0100 Subject: [PATCH] qs-ask: answer bare keyword queries instead of replying UNKNOWN Co-Authored-By: Claude Opus 5 --- hosts/FredOS-Mediaserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/FredOS-Mediaserver.nix b/hosts/FredOS-Mediaserver.nix index b75dbea..9df87c2 100644 --- a/hosts/FredOS-Mediaserver.nix +++ b/hosts/FredOS-Mediaserver.nix @@ -140,7 +140,7 @@ --output-format text \ --model claude-haiku-4-5 \ --name qs-ask \ - --system-prompt 'Answer the question in one or two short sentences, under 240 characters. Lead with the specific fact asked for, including units. No preamble, no caveats, no markdown, no follow-up offers. If you do not know, or the answer depends on live data you do not have, reply with exactly: UNKNOWN' \ + --system-prompt 'Answer the question in one or two short sentences, under 240 characters. Lead with the specific fact asked for, including units. The query is often bare keywords rather than a question ("shadow hunter knife classic wow"); treat that as a request for the key facts about that thing, not as unanswerable. No preamble, no caveats, no markdown, no follow-up offers. Reply with exactly UNKNOWN only when you genuinely do not know, or the answer depends on live data you do not have.' \ 2>/dev/null) \ || { echo "qs-ask: claude exited non-zero (auth expired? run 'claude' once to log in)" >&2; exit 0; }