pub enum RouterCallReasoning {
Off,
Low,
}Expand description
The reasoning a Router call itself may run at.
Deliberately not ReasoningTier: this type exists precisely so that
medium/high/max are unrepresentable. A Router emits one ~15-byte JSON
object; anything above low spends a user’s tokens on thinking about a
question that does not need thought.
Variants§
Implementations§
Source§impl RouterCallReasoning
impl RouterCallReasoning
Trait Implementations§
Source§impl Clone for RouterCallReasoning
impl Clone for RouterCallReasoning
Source§fn clone(&self) -> RouterCallReasoning
fn clone(&self) -> RouterCallReasoning
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 moreimpl Copy for RouterCallReasoning
Source§impl Debug for RouterCallReasoning
impl Debug for RouterCallReasoning
Source§impl Default for RouterCallReasoning
impl Default for RouterCallReasoning
Source§fn default() -> RouterCallReasoning
fn default() -> RouterCallReasoning
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RouterCallReasoning
impl<'de> Deserialize<'de> for RouterCallReasoning
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
impl Eq for RouterCallReasoning
Source§impl PartialEq for RouterCallReasoning
impl PartialEq for RouterCallReasoning
Source§impl Serialize for RouterCallReasoning
impl Serialize for RouterCallReasoning
impl StructuralPartialEq for RouterCallReasoning
Auto Trait Implementations§
impl Freeze for RouterCallReasoning
impl RefUnwindSafe for RouterCallReasoning
impl Send for RouterCallReasoning
impl Sync for RouterCallReasoning
impl Unpin for RouterCallReasoning
impl UnsafeUnpin for RouterCallReasoning
impl UnwindSafe for RouterCallReasoning
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