pub struct ModelCapabilitiesOverrideSupports {
pub adaptive_thinking: Option<AdaptiveThinkingSupport>,
pub reasoning_effort: Option<bool>,
pub tool_calls: Option<bool>,
pub vision: Option<bool>,
}Expand description
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
tool_calls: Option<bool>Whether this model supports canonical tool calling
vision: Option<bool>Whether this model supports vision/image input
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelCapabilitiesOverrideSupports
impl<'de> Deserialize<'de> for ModelCapabilitiesOverrideSupports
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ModelCapabilitiesOverrideSupports
impl RefUnwindSafe for ModelCapabilitiesOverrideSupports
impl Send for ModelCapabilitiesOverrideSupports
impl Sync for ModelCapabilitiesOverrideSupports
impl Unpin for ModelCapabilitiesOverrideSupports
impl UnsafeUnpin for ModelCapabilitiesOverrideSupports
impl UnwindSafe for ModelCapabilitiesOverrideSupports
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more