-
Notifications
You must be signed in to change notification settings - Fork 3
Implement ClaudeProvider for Anthropic API #19
Copy link
Copy link
Closed
Labels
featureNew functionalityNew functionalityllmzeph-llm crate (Ollama, Claude)zeph-llm crate (Ollama, Claude)
Description
Description
Second LlmProvider implementation targeting Claude API.
Parent: #4
Branch
feat/m3/claude-backend
Files
crates/zeph-llm/src/claude.rs— ClaudeProvider struct + implcrates/zeph-llm/src/lib.rs— add modulecrates/zeph-llm/Cargo.toml— add reqwest (or anthropic crate) dep
Acceptance Criteria
-
ClaudeProvider::new(api_key, model)constructor -
chat()calls Claude Messages API - API key from constructor (passed from config/env)
- Basic retry on rate limit (429) with exponential backoff
- Integration test marked
#[ignore](requires API key)
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)