pub struct GoalPreservationCase {
pub n_iterations: usize,
pub revalidation_interval: usize,
pub goal_text: String,
/* private fields */
}Expand description
Simulates a 15+ step agent execution and verifies that the goal text is
re-injected into the conversation context at the expected iterations,
matching the goal_revalidation_interval logic in TaskAgent.
Fields§
§n_iterations: usizeTotal simulated iterations.
revalidation_interval: usizeHow often goal reminder is injected (mirrors goal_revalidation_interval).
goal_text: StringOriginal goal text to verify.
Implementations§
Trait Implementations§
Source§impl Clone for GoalPreservationCase
impl Clone for GoalPreservationCase
Source§fn clone(&self) -> GoalPreservationCase
fn clone(&self) -> GoalPreservationCase
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 GoalPreservationCase
impl Debug for GoalPreservationCase
Source§impl EvaluationCase for GoalPreservationCase
impl EvaluationCase for GoalPreservationCase
Auto Trait Implementations§
impl Freeze for GoalPreservationCase
impl RefUnwindSafe for GoalPreservationCase
impl Send for GoalPreservationCase
impl Sync for GoalPreservationCase
impl Unpin for GoalPreservationCase
impl UnsafeUnpin for GoalPreservationCase
impl UnwindSafe for GoalPreservationCase
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