pub struct ExtraBody {
pub enable_thinking: Option<bool>,
pub thinking_budget: Option<u32>,
pub top_k: Option<u32>,
}
Fields§
§enable_thinking: Option<bool>
Make sense only for Qwen API.
thinking_budget: Option<u32>
Make sense only for Qwen API.
top_k: Option<u32>
The size of the candidate set for sampling during generation.
Make sense only for Qwen API.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtraBody
impl RefUnwindSafe for ExtraBody
impl Send for ExtraBody
impl Sync for ExtraBody
impl Unpin for ExtraBody
impl UnwindSafe for ExtraBody
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