-
Notifications
You must be signed in to change notification settings - Fork 3
Implement OllamaProvider using ollama-rs #9
Copy link
Copy link
Closed
Labels
featureNew functionalityNew functionalityllmzeph-llm crate (Ollama, Claude)zeph-llm crate (Ollama, Claude)
Description
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 implcrates/zeph-llm/src/lib.rs— add modulecrates/zeph-llm/Cargo.toml— add ollama-rs, tokio deps
Acceptance Criteria
-
OllamaProvider::new(base_url, model)constructor -
chat()sends messages, returns response text -
health_check()async method verifies Ollama is reachable - Handles connection errors gracefully
Depends On
#8 (LlmProvider trait)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew functionalityNew functionalityllmzeph-llm crate (Ollama, Claude)zeph-llm crate (Ollama, Claude)