Skip to main content

resolve_runtime_connection

Function resolve_runtime_connection 

Source
pub fn resolve_runtime_connection(
    intent: RuntimeConnectionIntent<'_>,
    auth_store: &AuthStore,
    registry: &ModelRegistry,
) -> Result<ResolvedRuntimeConnection, String>
Expand description

Resolve the model-first runtime connection (model id + provider route/surface) shared by CLI and session startup.