switch model to qwen3
All checks were successful
Disk Report Image / build-and-push-ddns (push) Successful in 26s

This commit is contained in:
2026-01-22 10:39:53 -05:00
parent 004ccf2fb7
commit fe6b6dda95
2 changed files with 8 additions and 7 deletions

View File

@@ -15,6 +15,7 @@ uv run disk_report.py --message "summarize this document" /tmp/input.txt
```bash ```bash
btrfs filesystem usage /btrfs/pool0 | grep 'Overall:' -A 12 > /tmp/input.txt 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 podman run -it --rm -v /tmp/input.txt:/input/input.txt:z gitea.reeseapps.com/services/disk_report:latest
``` ```

View File

@@ -5,7 +5,7 @@ OpenAIcompatible API and echo the response.
Defaults: Defaults:
• Server: https://llama-cpp.reeselink.com/v1/chat/completions • 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) • No API key required (but can be supplied via --api-key)
""" """
@@ -93,17 +93,17 @@ def main() -> None:
"-m", "-m",
"--message", "--message",
default=""" default="""
You are an expert BTRFS system administrator. You are tasked with reading btrfs reports and You are a seasoned linux system administrator. Read the provided
alerting admins when there's a serious issue. Attached is a btrfs summary. If everything looks information and alert on any anomalies. If everything looks good reply
good reply with a short message saying as such. If something is wrong, briefly explain what's with a short message about what you read and why it looks ok. If
wrong and reference the concerning metric. Remember that remaining disk space is denoted by something is wrong, briefly explain what's wrong and reference the
"Device unallocated", not by "used". High used percentages in Data and Metadata (>90%) are expected and normal. concerning metric.
""", """,
help="User message to send alongside the file.", help="User message to send alongside the file.",
) )
parser.add_argument( parser.add_argument(
"--model", "--model",
default="gpt-oss-120b", default="qwen3-30b-a3b-instruct",
help="Model name to request (default: %(default)s).", help="Model name to request (default: %(default)s).",
) )
parser.add_argument( parser.add_argument(