pub enum ReasoningSpec {
None,
Effort(ReasoningEffort),
Thinking {
budget_tokens: u64,
},
}Expand description
Resolved reasoning specification — what to actually send to the API.
Derived from ReasoningConfig (user intent) + ReasoningMode (model capability).
Variants§
None
Don’t send any reasoning fields
Effort(ReasoningEffort)
Send OpenAI-style effort parameter
Thinking
Send Anthropic-style thinking block
Trait Implementations§
Source§impl Clone for ReasoningSpec
impl Clone for ReasoningSpec
Source§fn clone(&self) -> ReasoningSpec
fn clone(&self) -> ReasoningSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReasoningSpec
impl RefUnwindSafe for ReasoningSpec
impl Send for ReasoningSpec
impl Sync for ReasoningSpec
impl Unpin for ReasoningSpec
impl UnsafeUnpin for ReasoningSpec
impl UnwindSafe for ReasoningSpec
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