run_with_session

Function run_with_session 

Source
pub async fn run_with_session(
    session: &SessionDriver,
    config: &RunConfig,
    options: RunnerOptions,
) -> RunResult
Expand description

Execute a tooltest run using a pre-initialized session.

Runs apply default assertions that fail on error responses and validate structured output against declared output schemas, plus any user-supplied assertion rules.

Requires a multi-thread Tokio runtime; current-thread runtimes are rejected.