modelRolesResolver property

ModelRolesResolver? modelRolesResolver
getter/setter pair

Optional model-roles resolver (roles/fallback chains/key rotation from the CLI config). When set and its default role resolves, the agent runs through the resolver's fallback stream instead of the plain providerKind/apiKey wiring, compaction summarizes through the smol role, and /model renders the roles overview. Mutable: the settings-hub agent-models flow creates one on demand when the config had no roles: section (auxiliary roles resolve lazily; the default chain stays untouched).

Implementation

ModelRolesResolver? modelRolesResolver;