switch model to qwen3
All checks were successful
Disk Report Image / build-and-push-ddns (push) Successful in 26s
All checks were successful
Disk Report Image / build-and-push-ddns (push) Successful in 26s
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user