Skip to main content

resolve_model_scope

Function resolve_model_scope 

Source
pub async fn resolve_model_scope(
    patterns: &[String],
    model_runtime: &ModelRuntime,
) -> Vec<ScopedModel>
Expand description

Resolve model patterns to scoped models (diagnostics discarded).

TypeScript prints diagnostics with console.warn; callers that need messages should use resolve_model_scope_with_diagnostics.