diff --git a/src/lib.rs b/src/lib.rs index 8eb7b82..391cce0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,6 +28,12 @@ pub struct OllamaClient { client: reqwest::Client, } +impl Default for OllamaClient { + fn default() -> Self { + Self::new("http://localhost:11434") + } +} + impl OllamaClient { pub fn new>(server_address: S) -> Self { Self {