release: v0.2.31 - O(1) attention knobs, reasoning toggle & admin token persistence

This commit is contained in:
infosave2007
2026-07-22 11:12:40 +03:00
parent 94c8551206
commit 1414ad1b52
10 changed files with 140 additions and 43 deletions
+5
View File
@@ -61,6 +61,11 @@ fn resolve_admin_token(cfg: &Config, args: &Args) -> (String, bool) {
return (t.clone(), false);
}
}
if let Some(t) = &cfg.admin.token {
if !t.is_empty() {
return (t.clone(), false);
}
}
(admin::random_token(24), true)
}