From fe6b6dda95848f550058ad4273de8061b328484e Mon Sep 17 00:00:00 2001 From: ducoterra Date: Thu, 22 Jan 2026 10:39:53 -0500 Subject: [PATCH] switch model to qwen3 --- README.md | 1 + disk_report.py | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6233892..42ca979 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ uv run disk_report.py --message "summarize this document" /tmp/input.txt ```bash btrfs filesystem usage /btrfs/pool0 | grep 'Overall:' -A 12 > /tmp/input.txt +podman pull gitea.reeseapps.com/services/disk_report:latest podman run -it --rm -v /tmp/input.txt:/input/input.txt:z gitea.reeseapps.com/services/disk_report:latest ``` diff --git a/disk_report.py b/disk_report.py index ba085fb..a5eaf87 100755 --- a/disk_report.py +++ b/disk_report.py @@ -5,7 +5,7 @@ OpenAI‑compatible API and echo the response. Defaults: • Server: https://llama-cpp.reeselink.com/v1/chat/completions - • Model : gpt-oss-120b + • Model : qwen3-30b-a3b-instruct • No API key required (but can be supplied via --api-key) """ @@ -93,17 +93,17 @@ def main() -> None: "-m", "--message", default=""" - You are an expert BTRFS system administrator. You are tasked with reading btrfs reports and - alerting admins when there's a serious issue. Attached is a btrfs summary. If everything looks - good reply with a short message saying as such. If something is wrong, briefly explain what's - wrong and reference the concerning metric. Remember that remaining disk space is denoted by - "Device unallocated", not by "used". High used percentages in Data and Metadata (>90%) are expected and normal. + You are a seasoned linux system administrator. Read the provided + information and alert on any anomalies. If everything looks good reply + with a short message about what you read and why it looks ok. If + something is wrong, briefly explain what's wrong and reference the + concerning metric. """, help="User message to send alongside the file.", ) parser.add_argument( "--model", - default="gpt-oss-120b", + default="qwen3-30b-a3b-instruct", help="Model name to request (default: %(default)s).", ) parser.add_argument(