Skip to main content

ollama_kit/
lib.rs

1//! Helpers around [`ollama_rs::Ollama`]: configured client, guarded `call`, [`OllamaRuntime::ensure`].
2
3#![deny(unsafe_code)]
4
5pub mod config;
6pub mod error;
7pub mod guard;
8mod model;
9pub mod runtime;
10
11pub use crate::config::{AuthConfig, RuntimeConfig, RuntimeMode};
12pub use crate::error::{Result, RuntimeError};
13pub use crate::guard::ExecutionGuard;
14#[cfg(feature = "stream")]
15pub use crate::guard::GuardedStream;
16pub use crate::runtime::OllamaRuntime;
17
18pub use ollama_rs;