Description
Implement the LlmProvider trait for Ollama local inference using the ollama-rs crate.
Parent: #2
Branch
feat/m1/ollama-backend
Files
crates/zeph-llm/src/ollama.rs — OllamaProvider struct + LlmProvider impl
crates/zeph-llm/src/lib.rs — add module
crates/zeph-llm/Cargo.toml — add ollama-rs, tokio deps
Acceptance Criteria
Depends On
#8 (LlmProvider trait)
Description
Implement the LlmProvider trait for Ollama local inference using the ollama-rs crate.
Parent: #2
Branch
feat/m1/ollama-backendFiles
crates/zeph-llm/src/ollama.rs— OllamaProvider struct + LlmProvider implcrates/zeph-llm/src/lib.rs— add modulecrates/zeph-llm/Cargo.toml— add ollama-rs, tokio depsAcceptance Criteria
OllamaProvider::new(base_url, model)constructorchat()sends messages, returns response texthealth_check()async method verifies Ollama is reachableDepends On
#8 (LlmProvider trait)