docs: clarify hyperthive.model priority in README

PR #321 changed the model priority to: HIVE_DEFAULT_MODEL (from nix config)
> persisted runtime choice > compiled-in DEFAULT_MODEL. The README now
clarifies that the nix config takes precedence and runtime overrides are
reset on rebuild.
This commit is contained in:
lexis 2026-05-23 00:44:42 +02:00
parent 77b249076f
commit 832c2f86c5

View file

@ -84,8 +84,10 @@ Per-agent settings live in each agent's `agent.nix` and are synced to
the container as environment variables. Common options:
- **`hyperhive.model`** — Claude model for this agent (default: `"haiku"`).
Sets `HIVE_DEFAULT_MODEL` in the container; the operator can override
at runtime via the per-agent web UI (persisted to state dir).
Sets `HIVE_DEFAULT_MODEL` in the container; the harness applies it at
boot and it takes priority over any persisted runtime override. The
operator can still switch the model at runtime via the per-agent web UI,
but that choice is reset by any rebuild that changes this option.
- **`hyperhive.allowedRecipients`** — List of agent names this agent can
message (via `send`). If unset, all agents are allowed. Useful to
restrict an agent to talking only to the manager.