pub enum ThinkingEffort {
Low,
Medium,
High,
Other(String),
}Expand description
Symbolic thinking effort tier. Per-call carrier — least common
denominator across providers. Vendor-specific tiers (Anthropic
XHigh / Max; future extensions) reach the wire via
Self::Other which forwards verbatim and routes through each
provider’s case-insensitive From<&str> parse.
Variants§
Low
Low / minimal reasoning effort.
Medium
Medium / balanced reasoning effort.
High
High / maximum standard reasoning effort.
Other(String)
Vendor-specific tier (e.g. "xhigh", "max"). Forwarded
verbatim. Each provider’s From<&str> parse resolves
recognised values to typed variants; unknown values are sent as
raw strings and the server may 4xx — that’s the caller’s
responsibility.
Trait Implementations§
Source§impl Clone for ThinkingEffort
impl Clone for ThinkingEffort
Source§fn clone(&self) -> ThinkingEffort
fn clone(&self) -> ThinkingEffort
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 moreSource§impl Debug for ThinkingEffort
impl Debug for ThinkingEffort
Source§impl PartialEq for ThinkingEffort
impl PartialEq for ThinkingEffort
Source§fn eq(&self, other: &ThinkingEffort) -> bool
fn eq(&self, other: &ThinkingEffort) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ThinkingEffort
impl StructuralPartialEq for ThinkingEffort
Auto Trait Implementations§
impl Freeze for ThinkingEffort
impl RefUnwindSafe for ThinkingEffort
impl Send for ThinkingEffort
impl Sync for ThinkingEffort
impl Unpin for ThinkingEffort
impl UnsafeUnpin for ThinkingEffort
impl UnwindSafe for ThinkingEffort
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