pub struct ReasoningArgs { /* private fields */ }Expand description
Builder for Reasoning.
Implementations§
Source§impl ReasoningArgs
impl ReasoningArgs
Sourcepub fn effort<VALUE: Into<ReasoningEffort>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn effort<VALUE: Into<ReasoningEffort>>( &mut self, value: VALUE, ) -> &mut Self
Constrains effort on reasoning for
reasoning models.
Currently supported values are minimal, low, medium, and high. Reducing
reasoning effort can result in faster responses and fewer tokens used
on reasoning in a response.
Note: The gpt-5-pro model defaults to (and only supports) high reasoning effort.
Sourcepub fn summary<VALUE: Into<ReasoningSummary>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn summary<VALUE: Into<ReasoningSummary>>( &mut self, value: VALUE, ) -> &mut Self
A summary of the reasoning performed by the model. This can be
useful for debugging and understanding the model’s reasoning process.
One of auto, concise, or detailed.
concise is only supported for computer-use-preview models.
Trait Implementations§
Source§impl Clone for ReasoningArgs
impl Clone for ReasoningArgs
Source§fn clone(&self) -> ReasoningArgs
fn clone(&self) -> ReasoningArgs
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 moreAuto Trait Implementations§
impl Freeze for ReasoningArgs
impl RefUnwindSafe for ReasoningArgs
impl Send for ReasoningArgs
impl Sync for ReasoningArgs
impl Unpin for ReasoningArgs
impl UnwindSafe for ReasoningArgs
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