Skip to main content

create_runner

Function create_runner 

Source
pub async fn create_runner(
    runner_type: CliRunnerType,
) -> Result<Box<dyn LlmProvider>, RunnerError>
Expand description

Create an LlmProvider instance for the given runner type

Resolves the CLI binary via environment variable override or PATH lookup, then constructs the appropriate runner with default configuration.

ยงErrors

Returns RunnerError if the CLI binary cannot be found.