pub enum ValueClass {
Critical,
Supporting,
Optional,
AuditOnly,
}Expand description
How important the tool’s output is to the agent’s task.
The planner uses this as the first-pass filter when budget is
tight: Critical tools are kept whatever the cost; AuditOnly
tools never enter the budget calculation; Supporting and
Optional are dropped in that order.
Variants§
Critical
File contents, search results — must always be included.
Supporting
Useful context that improves answers but is not load-bearing.
Optional
Nice-to-have. First to be dropped under tight budget.
AuditOnly
Metadata about the agent’s own plan (TaskUpdate, TodoWrite, telemetry pings). Kept in trace for analysis but never spent against the per-turn budget.
Trait Implementations§
Source§impl Clone for ValueClass
impl Clone for ValueClass
Source§fn clone(&self) -> ValueClass
fn clone(&self) -> ValueClass
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 ValueClass
impl Debug for ValueClass
Source§impl Default for ValueClass
impl Default for ValueClass
Source§fn default() -> ValueClass
fn default() -> ValueClass
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValueClass
impl<'de> Deserialize<'de> for ValueClass
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
Source§impl PartialEq for ValueClass
impl PartialEq for ValueClass
Source§fn eq(&self, other: &ValueClass) -> bool
fn eq(&self, other: &ValueClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValueClass
impl Serialize for ValueClass
impl Copy for ValueClass
impl Eq for ValueClass
impl StructuralPartialEq for ValueClass
Auto Trait Implementations§
impl Freeze for ValueClass
impl RefUnwindSafe for ValueClass
impl Send for ValueClass
impl Sync for ValueClass
impl Unpin for ValueClass
impl UnsafeUnpin for ValueClass
impl UnwindSafe for ValueClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.