car-inference 0.47.0

Local model inference for CAR — Candle backend with Qwen3 models
//! Manual probe: synthesize a phrase to a known path and report what came out.
//! `cargo run -p car-inference --example tts_probe -- /tmp/out.wav "hello"`
#[tokio::main]
async fn main() {
    let mut args = std::env::args().skip(1);
    let out = args
        .next()
        .unwrap_or_else(|| "/tmp/car_tts_probe.wav".into());
    let text = args
        .next()
        .unwrap_or_else(|| "The common agent runtime now speaks locally.".to_string());
    let engine = car_inference::InferenceEngine::new(car_inference::InferenceConfig::default());
    let req = car_inference::SynthesizeRequest {
        text,
        output_path: Some(out.clone()),
        ..Default::default()
    };
    match engine.synthesize(req).await {
        Ok(r) => {
            println!("OK  model={:?} voice={:?}", r.model_used, r.voice_used);
            println!("    audio_path={}", r.audio_path);
        }
        Err(e) => println!("ERR {e}"),
    }
}