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§
Sourcefn anthropic_id(&self) -> &'static str
fn anthropic_id(&self) -> &'static str
The Anthropic API model ID
e.g., “claude-sonnet-4-5-20250929”