pub struct ModelCapabilitiesSupports {
pub adaptive_thinking: Option<AdaptiveThinkingSupport>,
pub reasoning_effort: Option<bool>,
pub vision: Option<bool>,
}Expand description
Re-exports of generated protocol types that are part of the SDK’s
public API surface. The canonical definitions live in
crate::rpc; they live here so the crate-root
pub use types::* surfaces them alongside hand-written SDK types.
Feature flags indicating what the model supports
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§adaptive_thinking: Option<AdaptiveThinkingSupport>Resolved Anthropic adaptive-thinking capability — unsupported / optional / required / adaptive_only. ‘required’ models reject thinking.type=‘enabled’ with HTTP 400 but still accept ‘disabled’ (e.g. opus-4.7/4.8/5, sonnet-5); ‘adaptive_only’ models accept nothing but ‘adaptive’ (e.g. fable, mythos).
reasoning_effort: Option<bool>Whether this model supports reasoning effort configuration
vision: Option<bool>Whether this model supports vision/image input
Trait Implementations§
Source§impl Clone for ModelCapabilitiesSupports
impl Clone for ModelCapabilitiesSupports
Source§fn clone(&self) -> ModelCapabilitiesSupports
fn clone(&self) -> ModelCapabilitiesSupports
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more