MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / reset

Method reset

python/src/tools/executor.rs:200–206  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

198 }
199
200 fn reset(&mut self) {
201 self.current_execution_id = uuid::Uuid::new_v4().to_string();
202 self.tool_call_count = 0;
203 self.results = ToolResultCollection::new();
204 self.variables.clear();
205 self.start_time = None;
206 }
207
208 fn start_execution(&mut self) {
209 self.start_time = Some(Instant::now());

Callers 2

execute_toolsMethod · 0.80
clear_contextMethod · 0.80

Calls 2

to_stringMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected