pub struct LearningConfig {
pub review_model: Arc<dyn Model>,
pub tools: Vec<Arc<dyn Tool>>,
pub review_prompt: String,
pub nudge_interval: u32,
pub max_iters: u32,
}Expand description
Configuration for the learning loop. The app injects the review model + the
white-listed tools the review subagent may call (typically a SkillManageTool
- a
RememberThisTool); harness-loop never depends on those crates.
Fields§
§review_model: Arc<dyn Model>§tools: Vec<Arc<dyn Tool>>§review_prompt: String§nudge_interval: u32§max_iters: u32Implementations§
Auto Trait Implementations§
impl Freeze for LearningConfig
impl !RefUnwindSafe for LearningConfig
impl Send for LearningConfig
impl Sync for LearningConfig
impl Unpin for LearningConfig
impl UnsafeUnpin for LearningConfig
impl !UnwindSafe for LearningConfig
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