Repository navigation
ktms-admin 1.0.0
The first stable release, paired with Keystone. The Model Switchboard. (KTMS) 1.0: ktms-admin
1.x works with every KTMS 1.x release (see Compatibility).
Added
TOKENMETER_TOKEN: a light-tokenmeter 1.0 bearer token with thereadscope, for its
authentication. The usage status in the sidebar says "refused" and names the setting when the token
is missing, rejected or lacks the scope;examples/compose.yamlwires tokens through the whole stack.- Password sign-in:
ADMIN_USERSorADMIN_USERS_FILEholdemail:hashentries made by the new
ktms-admin hash-passwordcommand (argon2id; bcrypt fromhtpasswd -nBworks too). Failed attempts
back off per account and per client address. - Any OpenID Connect provider by its generic settings (
OIDC_CLIENT_ID,OIDC_CLIENT_SECRET,OIDC_ISSUER,
OIDC_NAME), several at once throughOIDC_PROVIDERS, and GitHub sign-in (GITHUB_CLIENT_ID,
GITHUB_CLIENT_SECRET,GITHUB_URLfor Enterprise Server). - Sign-in through an access proxy: an e-mail header from
TRUSTED_PROXY_CIDRS(oauth2-proxy, Authelia,
Authentik, Pomerium, Tailscale) or a verified Cloudflare Access token (CF_ACCESS_TEAM_DOMAIN,
CF_ACCESS_AUD). - Key policies on the Keys page: allowed models and requests and tokens per minute, set when minting
or later (team leads for their team's keys), and each key's spend against its caps. - Prompt-cache prices (cached input, cache write) and the
prompt_cachecapability in the model
editor.
Changed
- Google sign-in is optional: configure any of the methods above, alone or together. Sign-in methods
are pluggable adapters behind one core that owns sessions, roles and the sign-in page; Google works as
before, with the same redirect URI. - The console and sign-in page use the ai-process.dev palette and logo. The dark theme runs orange to
yellow on warm near-black, and the light theme has orange accents. Warnings are yellow and errors red,
so they no longer look like the accent; the third chart and rule colour is blue. - The image is published only as
coyl/ktms-admin.coyl/llm-proxy-adminstays at 0.4.0: switch
your deployments to the new name. - The binary and Go module are named
ktms-admin; the console's internal CSRF header value
changed with them (the server and its UI ship together). - The README names the gateway Keystone. The Model Switchboard. (KTMS).
- The license is Apache 2.0, with a
NOTICEfile.
Deprecated
GOOGLE_CLIENT_IDandGOOGLE_CLIENT_SECRET: useOIDC_CLIENT_IDandOIDC_CLIENT_SECRET. The old names
keep working with a startup warning and are removed in 2.0.
Fixed
- Sign-in error pages are styled again: the CSP blocked their inline styles.
- A profile picture the CSP blocks no longer shows as a broken image.