Skip to content

Implement ClaudeProvider for Anthropic API #19

@bug-ops

Description

@bug-ops

Description

Second LlmProvider implementation targeting Claude API.

Parent: #4

Branch

feat/m3/claude-backend

Files

  • crates/zeph-llm/src/claude.rs — ClaudeProvider struct + impl
  • crates/zeph-llm/src/lib.rs — add module
  • crates/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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    M3Milestone 3: Memory + ClaudefeatureNew functionalityllmLLM provider related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions