Repository navigation
Release v7.168.3
Summary
Provider, agent, usage and decision management now requires administrator authorization. Hosts decide who is an administrator; until they do, management access is denied.
Added
IAIAdministratorsandCratisAIBuilder.WithAdministrators<T>()let a host decide which callers may manage AI providers, agents, usage and decisions. See https://github.com/Cratis/AI/blob/main/Documentation/provider-administration.md.
Changed
- Hosts that manage providers, agents, usage or decisions must register an administrators implementation with
WithAdministrators<T>(); without one, these operations are denied. - Usage, rate-limit and credential recording performed by Cratis.AI itself keeps working for every caller, including during requests from users who are not administrators.
Fixed
- A refreshed subscription credential is no longer reported as stored when recording it fails.
Security
- Provider, agent, usage and decision management commands and queries now require the
Cratis.AI.Managementauthorization policy. Callers are admitted only when the host'sIAIAdministratorsadmits them; the default denies everyone.