From 1927badfc173c6d9a32deed9ca7776d987b2ea75 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 26 Sep 2026 09:07:36 +0200 Subject: Read controller batteries, stop the model guessing system facts - Game controllers report battery through their kernel driver, not BlueZ: bluetooth.sh falls back to the power supply named after the device address. - Asked for a VM's IP after a listing without one, the model made one up without calling a tool. The default system prompt now says facts about the user's computer, devices, accounts, mail, calendar or money come only from a tool, or it says it does not know. Co-Authored-By: Claude Opus 5.5 --- assistant.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'assistant.py') diff --git a/assistant.py b/assistant.py index 3bd4b20..4ea8113 100644 --- a/assistant.py +++ b/assistant.py @@ -46,7 +46,10 @@ DEFAULTS = { "llm": "http://localhost:8181/v1", "system": ("You are a voice assistant. Your replies are spoken aloud, so answer " "briefly in plain sentences: no markdown, no lists, no emoji. " - "Reply in the language the user speaks, Italian or English."), + "Reply in the language the user speaks, Italian or English. " + "Facts about the user's computer, devices, accounts, mail, calendar " + "or money come only from a tool: call one, and if none can tell, " + "say you do not know. Never guess them."), "tool_rounds": 3, "whisper": {"model": "/data/voice-models/whisper/ggml-large-v3-turbo-q5_0.bin", "device": 0, "port": 8182}, -- cgit v1.2.3