PreResolvedModelSelectionCriteria

Pre-resolved model selection criteria that wraps an already-resolved service instance, bypassing ModelProvider resolution. Useful when the caller already has a concrete service instance, for example in BYOK (bring your own per-user key) scenarios, testing, or dynamic provider selection. The generic type parameter provides compile-time safety at the construction site, while the resolution site uses a single localized cast.

Constructors

Link copied to clipboard
constructor(resolved: T)

Properties

Link copied to clipboard
val resolved: T

Functions

Link copied to clipboard
open override fun toString(): String