Run everything on the local model; no cloud tier

GLM-4.7-Flash can reach core over SSH, check, diagnose and upgrade, so
operator messages, alert triage, health findings and the weekly upgrade all
route to the one local profile. The Anthropic profile and its cloud-first
routing go, and with them the API key and metered billing the first draft
needed. The local profile's context_tokens rises to 131072, the window Ollama
loads GLM with, so long runs are not trimmed early.

Profiles and routing stay in configuration: a second model can still be
added, with hand-over when the first is unreachable or fails the run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
paulandClaude Opus 5.5 committed 2026-09-26 01:59:28 +12:00
1 parent 61dca2c3ca
commit 9aa1abf0e2
7 files changed
+89 -93

No files matched your search

+3 -3
View File
@@ -5,9 +5,9 @@ maintainer.py decides *when* the agent runs and relays what it says; this
module decides *how*: which model, which tools, what it is told, and how a
conversation is kept between runs.
Models are named profiles in config.json -> models (a cloud one and a local
one, or several of each), and config.json -> routing gives each kind of task
an ordered chain of profiles:
Models are named profiles in config.json -> models (by default one: the local
model), and config.json -> routing gives each kind of task an ordered chain
of profiles. With more than one:
* an API failure (Ollama not running, a 5xx, a revoked key) moves to the
next profile at once, for the rest of the run (FallbackModel)