pub mod mlflow;
pub mod ollama;

/// Route AI/ML tool output to the right compressor.
pub fn compress_ai(prog: &str, subcmd: &str, raw: &str) -> String {
    match prog {
        "ollama" => ollama::compress_ollama(subcmd, raw),
        "mlflow" => mlflow::compress_mlflow(subcmd, raw),
        _ => forge::signal::compactor::collapse_blanks(&forge::signal::compactor::normalise(raw)),
    }
}
