pub struct LLMThinkingOptions {
pub budget_tokens: u32,
}Expand description
Thinking/reasoning options
Fields§
§budget_tokens: u32Budget tokens for thinking (must be >= 1024)
Implementations§
Trait Implementations§
Source§impl Clone for LLMThinkingOptions
impl Clone for LLMThinkingOptions
Source§fn clone(&self) -> LLMThinkingOptions
fn clone(&self) -> LLMThinkingOptions
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 LLMThinkingOptions
impl Debug for LLMThinkingOptions
Source§impl<'de> Deserialize<'de> for LLMThinkingOptions
impl<'de> Deserialize<'de> for LLMThinkingOptions
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 LLMThinkingOptions
impl RefUnwindSafe for LLMThinkingOptions
impl Send for LLMThinkingOptions
impl Sync for LLMThinkingOptions
impl Unpin for LLMThinkingOptions
impl UnwindSafe for LLMThinkingOptions
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