configuredModelFor

fun configuredModelFor(role: String, provider: String?): String?

What configuration says role means for provider - the nested entry if there is one, otherwise the flat map.

The read side of resolve, for callers that want to show a role's model rather than use it: a settings UI, a diagnostic endpoint. Sharing the lookup means such a caller cannot drift from what resolution would actually pick. Narrower than resolution in the same two ways ConfigurableRoleResolver.configuredOptionsFor is: it does not consult application resolvers, and it takes the provider as an argument rather than reading the active context.