Skip to main content

pick_with

Function pick_with 

Source
pub async fn pick_with(
    ollama_endpoint: &str,
    anthropic_key: Option<&str>,
) -> Result<Box<dyn LlmClient>, LlmError>
Expand description

Same selection logic as pick_default_client but with explicit inputs — lets tests exercise the branches without touching process environment.