pub type AnthropicModel = CompletionModel;Aliased Type§
pub struct AnthropicModel {
pub model: String,
pub default_max_tokens: Option<u64>,
pub prompt_caching: bool,
/* private fields */
}Fields§
§model: String§default_max_tokens: Option<u64>§prompt_caching: boolEnable automatic prompt caching (adds cache_control breakpoints to system prompt and messages)