Expand description
A model route: where an agent’s model calls go, and with which key
reference (docs/architecture/content-spec-status.md: spec, declared by the
author, reaching the harness through its own verb).
Hermes keeps the route in its config.yaml model: block (provider,
base_url, api_key, default, api_mode). apply reads that block from
the harness’s own file, runs hermes config set model.<field> <value> for
each declared field that differs, and answers from the file re-read. The key
is only ever a reference: it is written as ${NAME}, which Hermes keeps
unresolved in the file and resolves from its environment at call time, so no
credential value is written, read back or returned.
Hermes is the only harness with a route verb supercode drives at the pin; OpenClaw and the orchestrator refuse.
Structs§
- Model
Route Apply - One declared model route.
- Model
Route Outcome - What a route apply did.
Functions§
- apply
- Apply a declared model route through the harness’s own config verb.