#[non_exhaustive]pub enum SkipReason {
NotSuccessful,
TooFewToolCalls {
got: usize,
need: usize,
},
TooFewDistinctTools {
got: usize,
need: usize,
},
SituationTooShort {
got: usize,
need: usize,
},
DuplicateSkill {
existing: String,
similarity: f32,
threshold: f32,
},
NameTaken {
existing: String,
},
}Expand description
Why the gate declined to spend a model call. Every variant carries the numbers behind the decision so a host can log or tune against it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotSuccessful
The run failed, or nobody said whether it worked.
TooFewToolCalls
TooFewDistinctTools
SituationTooShort
DuplicateSkill
A skill covering this already exists.
NameTaken
The drafted name collides with a skill already on disk. Distinct from
DuplicateSkill: the episode looked novel, but the model landed on a
name that’s taken, which usually means the topics really do overlap.
Trait Implementations§
Source§impl Clone for SkipReason
impl Clone for SkipReason
Source§impl Debug for SkipReason
impl Debug for SkipReason
Source§impl PartialEq for SkipReason
impl PartialEq for SkipReason
impl StructuralPartialEq for SkipReason
Auto Trait Implementations§
impl Forget for SkipReason
impl Freeze for SkipReason
impl RefUnwindSafe for SkipReason
impl Send for SkipReason
impl Sync for SkipReason
impl Unpin for SkipReason
impl UnsafeUnpin for SkipReason
impl UnwindSafe for SkipReason
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