pub struct SkillExtractionNudger { /* private fields */ }Implementations§
Source§impl SkillExtractionNudger
impl SkillExtractionNudger
pub fn new(threshold: u64) -> SkillExtractionNudger
Sourcepub fn turn_ended(
&mut self,
run: &str,
tool_calls: usize,
failed: usize,
running: u64,
) -> Option<String>
pub fn turn_ended( &mut self, run: &str, tool_calls: usize, failed: usize, running: u64, ) -> Option<String>
tool_calls made in the turn, failed of whose results were errors; running root-started work still running.
pub fn run_ended(&mut self, run: &str)
Auto Trait Implementations§
impl Forget for SkillExtractionNudger
impl Freeze for SkillExtractionNudger
impl Move for SkillExtractionNudger
impl RefUnwindSafe for SkillExtractionNudger
impl Send for SkillExtractionNudger
impl Sync for SkillExtractionNudger
impl Unpin for SkillExtractionNudger
impl UnsafeUnpin for SkillExtractionNudger
impl UnwindSafe for SkillExtractionNudger
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