Repository navigation
Loki Mode v11.164.0
·
176 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Pick the model per role on loki start, and --model fable now runs Fable
loki starttakes--plan-model,--dev-model,--test-model,--review-model,--advisor-model,--helper-modeland--escalate-model, or one line--models plan=opus,dev=haiku,...(alsoLOKI_ROLE_<ROLE>andLOKI_MODELS). A role you set is exact: never capped to--model, never downgraded or climbed, and a dev pin escalates only to--escalate-model. A role you do not set keeps Loki's choice, so a run with no role behaves as before. The start line and--dry-runname the model per role, and the receipt recordsmodels_by_role. A typo, a route id, a role aboveLOKI_MAX_TIER, or a Claude role underLOKI_MODEL_ROUTEexits 2 before any session, with the nearest known model id.--advisor-modelpicks the model only; it does not turn the advisor on. See docs/environment-variables.md, "A model per role".- Behaviour change:
--model fable,--session-model fableand afablerole now run Fable (claude-fable-5-2, added to the model catalog as the current Fable) onloki start, instead of Opus. The legacy bash engine still maps fable to opus. Fable is confirmed on the Claude CLI on a subscription (oneclaude -p --model claude-fable-5-2call, which reported claude-fable-5-2 as the model that ran); the Agent SDK sessions use the same CLI binary and sign-in and were not tested on their own; on the raw API (tool-less calls withANTHROPIC_API_KEY) it is not verified yet. The start line and the receipt say so, and a refused Fable call prints the API's reason and is never re-run on another model.claude-fable-5-2is priced by the fable row of the pricing table (the Fable 5.1 rate); its own rate is not verified.
Tests before this release: the full local gate (scripts/local-ci.sh, 31 of the 32 tests/min files; tests/min/scratch-real-services.sh is outside it) on the merged tree, with the real-vitest legs run. Not measured: a real run with a role set, and Fable on the raw API.