resolve

abstract fun resolve(role: String, context: ModelSelectionContext): RoleResolution?

Return

how to satisfy the role, or null to let the next resolver decide

Parameters

role

the role requested, for example "cheapest"

context

who the call is for and which provider key is active