use ollama_rest::Ollama; #[tokio::main] async fn main() { // Make sure Ollama serves at 127.0.0.1:11434 let ollama = Ollama::default(); let models = ollama.local_models().await.unwrap(); println!("{models:#?}"); }