pub enum ThinkingDisplay {
Summarized,
Omitted,
}Expand description
How thinking content is returned in the response.
Anthropic’s API defaults to Omitted for claude-opus-4-7 and Mythos
Preview; tau defaults to Summarized when thinking is enabled so the
behaviour matches older Claude 4 models.
Variants§
Summarized
Thinking blocks contain summarized thinking text.
Omitted
Thinking blocks return an empty thinking field; the encrypted signature still travels back for multi-turn continuity.
Trait Implementations§
Source§impl Clone for ThinkingDisplay
impl Clone for ThinkingDisplay
Source§fn clone(&self) -> ThinkingDisplay
fn clone(&self) -> ThinkingDisplay
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThinkingDisplay
impl Debug for ThinkingDisplay
Source§impl<'de> Deserialize<'de> for ThinkingDisplay
impl<'de> Deserialize<'de> for ThinkingDisplay
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
Source§impl PartialEq for ThinkingDisplay
impl PartialEq for ThinkingDisplay
Source§impl Serialize for ThinkingDisplay
impl Serialize for ThinkingDisplay
impl Copy for ThinkingDisplay
impl Eq for ThinkingDisplay
impl StructuralPartialEq for ThinkingDisplay
Auto Trait Implementations§
impl Freeze for ThinkingDisplay
impl RefUnwindSafe for ThinkingDisplay
impl Send for ThinkingDisplay
impl Sync for ThinkingDisplay
impl Unpin for ThinkingDisplay
impl UnsafeUnpin for ThinkingDisplay
impl UnwindSafe for ThinkingDisplay
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