MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_criteria

Method with_criteria

core/src/planning/mod.rs:334–337  ·  view source on GitHub ↗
(mut self, criteria: Vec<String>)

Source from the content-addressed store, hash-verified

332 }
333
334 pub fn with_criteria(mut self, criteria: Vec<String>) -> Self {
335 self.success_criteria = criteria;
336 self
337 }
338
339 pub fn update_progress(&mut self, progress: f32) {
340 self.progress = progress.clamp(0.0, 1.0);

Calls

no outgoing calls