Re-exports§
pub use client::OllamaClient;pub use parser::pull_events_from_value;pub use pull::CliPullProgressReporter;pub use pull::OllamaPullEvent;pub use pull::OllamaPullProgressReporter;pub use pull::TuiPullProgressReporter;pub use url::base_url_to_host_root;pub use url::is_openai_compatible_base_url;
Modules§
Structs§
- Ollama
Provider - Wire
ApiDetection - Result of detecting which wire API the Ollama server supports.
Enums§
- Ollama
Wire Api - Wire protocol that the Ollama server supports. Based on OpenAI Codex’s WireApi enum.
Functions§
- detect_
wire_ api - Detect which wire API the running Ollama server supports based on its version.
Returns
Ok(None)when the version endpoint is missing or unparsable; callers should keep the configured default in that case. - ensure_
oss_ ready - Prepare the local OSS environment when using Ollama.
- fetch_
ollama_ models - Fetches available local Ollama models from the Ollama API endpoint