use mini_ollama_client::send_request;
use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
println!("Starting the Ollama client...");
let server = "localhost:11434";
let prompt = "Hello ollama.";
let model = Some("qwen2.5-coder");
match send_request(server, prompt, model) {
Ok(response) => println!("Response: {}", response),
Err(e) => eprintln!("Error: {}", e),
}
Ok(())
}