Skip to main content

pulsehive_anthropic/
lib.rs

1//! Anthropic Claude LLM provider for PulseHive.
2//!
3//! Supports Claude Opus, Sonnet, and Haiku models via the Messages API
4//! with tool use support.
5//!
6//! # Example
7//! ```rust,ignore
8//! use pulsehive_anthropic::{AnthropicProvider, AnthropicConfig};
9//!
10//! let provider = AnthropicProvider::new("sk-ant-...");
11//! // Or with custom config:
12//! let provider = AnthropicProvider::with_config(
13//!     AnthropicConfig::new("sk-ant-...").with_model("claude-opus-4-6")
14//! );
15//! ```
16
17pub mod config;
18pub mod provider;
19pub mod types;
20
21pub use config::AnthropicConfig;
22pub use provider::AnthropicProvider;