Skip to main content

AnthropicModel

Trait AnthropicModel 

Source
pub trait AnthropicModel: Model {
    // Required method
    fn anthropic_id(&self) -> &'static str;
}
Expand description

Trait for models available via Anthropic’s direct API

Models implement this to be usable with a future AnthropicProvider.

Required Methods§

Source

fn anthropic_id(&self) -> &'static str

The Anthropic API model ID

e.g., “claude-sonnet-4-5-20250929”

Implementors§