fix: run the weekly Recipe Report on DeepSeek V4.1 Flash

The report launcher (launch-report.py) defaulted to opencode-go/glm-5.3-flash,
i.e. the report was the remaining part of the weekly pipeline still on GLM
(subagents were already on deepseek-v4.1-flash). Point REPORT_MODEL and the
in-code default at opencode-go/deepseek-v4.1-flash ('DeepSeek V4.1 Flash 1017').
Upgrader + hourly supervisor stay on glm-5.3-flash.

Verified: 'launch-report.py status' resolves model=opencode-go/deepseek-v4.1-flash
both with and without upgrader.env sourced. The live override file
/srv/cc-ci/upgrader.env (untracked) was updated to match.
This commit is contained in:
2026-11-23 17:32:17 +00:00
parent f462ebe3d6
commit 9ffe1da59a
5 changed files with 14 additions and 9 deletions
+4 -3
View File
@@ -4,7 +4,8 @@
The report agent's model is configured SEPARATELY from the upgrader (REPORT_BACKEND/REPORT_MODEL),
but defaults to the same OpenCode subscription as the upgrader (now OpenCode GO — the only tier
with a key on this host; ZEN models are dead here, see launch-upgrader.py). The model default tracks
the backend+tier (opencode+go→opencode-go/glm-5.3-flash, opencode+zen→opencode/glm-5.2, claude→opus).
the backend+tier (opencode+go→opencode-go/deepseek-v4.1-flash, opencode+zen→opencode/glm-5.2,
claude→opus). The report runs on DeepSeek while the upgrader/supervisor stay on GLM-5.3-Flash.
Usage:
launch-report.py start [DATE] use-or-create the session; runs /recipe-report [DATE]
@@ -26,7 +27,7 @@ WORKDIR = os.environ.get("REPORT_DIR", "/srv/cc-ci")
LOG_DIR = os.environ.get("LOG_DIR", "/srv/cc-ci/.cc-ci-logs")
BACKEND = os.environ.get("REPORT_BACKEND", "opencode")
TIER = os.environ.get("LOOP_TIER", os.environ.get("REPORT_TIER", "go"))
_TIER_MODEL = {"go": "opencode-go/glm-5.3-flash", "zen": "opencode/glm-5.2"}
_TIER_MODEL = {"go": "opencode-go/deepseek-v4.1-flash", "zen": "opencode/glm-5.2"}
_DEFAULT_MODEL = _TIER_MODEL.get(TIER, _TIER_MODEL["go"]) if BACKEND == "opencode" else "opus"
MODEL = os.environ.get("REPORT_MODEL", _DEFAULT_MODEL)
CLAUDE_BIN = os.environ.get("CLAUDE_BIN", "claude")
@@ -127,7 +128,7 @@ def start(mode, date):
if BACKEND == "opencode":
if OPENCODE_SHARE:
log(f" attached to {OPENCODE_SERVER} → https://oc.ci.commoninternet.net +public --share link")
# Watchdog for the report too: it runs on glm-5.3-flash sharing the same opencode-go budget the
# Watchdog for the report too: it runs on deepseek-v4.1-flash sharing the same opencode-go budget the
# upgrade run just drained, so a 429 stall is likely. Reuse launch-upgrader.py's watchdog,
# pointed at THIS (cc-ci-report) session with a report-specific marker + resume prompt. It
# runs under the tmux server (survives the systemd oneshot like the run sessions).