pub struct ClientThinking {
pub max_thinking_tokens: Option<u64>,
pub thinking_display: Option<String>,
}Expand description
InitMessage::client_thinking: the thinking a Cowork cloud worker’s
turn runs with (CLI 2.1.317+).
Fields§
§max_thinking_tokens: Option<u64>0 with thinking off, the fixed budget, or None (wire null) with
no fixed budget.
thinking_display: Option<String>summarized, omitted or highlights; None (wire null) with
none, with thinking off, and for a highlights this session cannot
send.
Trait Implementations§
Source§impl Clone for ClientThinking
impl Clone for ClientThinking
Source§impl Debug for ClientThinking
impl Debug for ClientThinking
Source§impl<'de> Deserialize<'de> for ClientThinking
impl<'de> Deserialize<'de> for ClientThinking
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 ClientThinking
impl PartialEq for ClientThinking
Source§impl Serialize for ClientThinking
impl Serialize for ClientThinking
impl StructuralPartialEq for ClientThinking
Auto Trait Implementations§
impl Freeze for ClientThinking
impl RefUnwindSafe for ClientThinking
impl Send for ClientThinking
impl Sync for ClientThinking
impl Unpin for ClientThinking
impl UnsafeUnpin for ClientThinking
impl UnwindSafe for ClientThinking
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