Model id is claude-sonnet-5-5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
12e6fef51c
commit
5170ec2f57
5 files changed
+6
-6
No files matched your search
@@ -11,7 +11,7 @@ operator over Matrix (chat.semprini.me).
|
||||
It is the *unattended driver* for the canonical **stack-support agent**, which lives in the
|
||||
separate **semprini-core** repo. This project does not reimplement that logic: it notices
|
||||
events, runs the stack-support agent in-process with **pydantic-ai** on Claude
|
||||
(`anthropic:claude-sonnet-5.5`, through the Anthropic API), and relays the agent's typed result.
|
||||
(`anthropic:claude-sonnet-5-5`, through the Anthropic API), and relays the agent's typed result.
|
||||
|
||||
Until 2026-09-26 it ran on the core host and drove Claude Code headless; from then until
|
||||
2026-11-26 it ran in WSL on the operator's workstation on a local model (GLM-4.7-Flash).
|
||||
@@ -44,7 +44,7 @@ Until 2026-09-26 it ran on the core host and drove Claude Code headless; from th
|
||||
`powershell` hosts remain supported for a daemon run elsewhere. The daemon's probes, its
|
||||
git bookkeeping and the agent's tools all run through them.
|
||||
- **Models** (`agent.py`, `config.json` → `models`, `routing`, `limits`): one profile,
|
||||
`claude` (`anthropic:claude-sonnet-5.5`, `context_tokens` 200000 to cap what one long run
|
||||
`claude` (`anthropic:claude-sonnet-5-5`, `context_tokens` 200000 to cap what one long run
|
||||
re-sends per step), routed for every kind of task, with no fallback (operator's decision,
|
||||
2026-11-26). Billed per token with an API key, set by `--set-api-key claude`;
|
||||
`limits.cost_usd` caps each run ($5, $15 for the upgrade). The mechanism stays general: a
|
||||
|
||||
@@ -93,7 +93,7 @@ upgrade. In `config.json`:
|
||||
|
||||
```json
|
||||
"models": {
|
||||
"claude": {"model": "anthropic:claude-sonnet-5.5", "context_tokens": 200000, "api_key": "…"}
|
||||
"claude": {"model": "anthropic:claude-sonnet-5-5", "context_tokens": 200000, "api_key": "…"}
|
||||
},
|
||||
"routing": {"operator": ["claude"], "alerts": ["claude"], "health": ["claude"], "upgrade": ["claude"]}
|
||||
```
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
"runbook_file": "docs/stack-support-runbook.md",
|
||||
|
||||
"models": {
|
||||
"claude": {"model": "anthropic:claude-sonnet-5.5", "context_tokens": 200000, "api_key": ""}
|
||||
"claude": {"model": "anthropic:claude-sonnet-5-5", "context_tokens": 200000, "api_key": ""}
|
||||
},
|
||||
"routing": {
|
||||
"operator": ["claude"],
|
||||
|
||||
@@ -50,7 +50,7 @@ relays its results.
|
||||
maintained the stack; the core host is always on. The daemon runs there under systemd as
|
||||
`ubuntu`, checkout `~/semprini-maintainer`, state in `~/.local/state/semprini-maintainer/`.
|
||||
Without the workstation's GPU there is no local model, so one profile, `claude`
|
||||
(`anthropic:claude-sonnet-5.5`), does every kind of task, with no fallback. Consequences:
|
||||
(`anthropic:claude-sonnet-5-5`), does every kind of task, with no fallback. Consequences:
|
||||
- `core` is the only host, with no `ssh`, so commands run on it directly; the `local` (WSL)
|
||||
and `windows` (PowerShell) hosts are gone. The bot's git identity and `GITEA_*` are set
|
||||
in `core`'s environment, and pull requests are opened from core.
|
||||
|
||||
+1
-1
@@ -103,7 +103,7 @@ DEFAULTS = {
|
||||
"models": {
|
||||
# A history is shortened past context_tokens: 200k keeps one long run
|
||||
# from re-sending (and paying for) a near-million-token prompt per step.
|
||||
"claude": {"model": "anthropic:claude-sonnet-5.5", "context_tokens": 200000},
|
||||
"claude": {"model": "anthropic:claude-sonnet-5-5", "context_tokens": 200000},
|
||||
},
|
||||
# Which profiles each kind of task tries, best first; a later one takes
|
||||
# over when the first is unreachable or fails the run. Replaced whole.
|
||||
|
||||
Reference in new issue
Block a user