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

Method update_progress

core/src/planning/mod.rs:339–341  ·  view source on GitHub ↗
(&mut self, progress: f32)

Source from the content-addressed store, hash-verified

337 }
338
339 pub fn update_progress(&mut self, progress: f32) {
340 self.progress = progress.clamp(0.0, 1.0);
341 }
342
343 pub fn mark_achieved(&mut self) {
344 self.achieved = true;

Callers 1

test_agent_goalFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_agent_goalFunction · 0.64