MCPcopy Index your code
hub / github.com/AI45Lab/Code / with_timeout

Method with_timeout

core/src/hitl.rs:77–81  ·  view source on GitHub ↗

Set timeout

(mut self, timeout_ms: u64, action: TimeoutAction)

Source from the content-addressed store, hash-verified

75
76 /// Set timeout
77 pub fn with_timeout(mut self, timeout_ms: u64, action: TimeoutAction) -> Self {
78 self.default_timeout_ms = timeout_ms;
79 self.timeout_action = action;
80 self
81 }
82
83 /// Check if a tool should skip confirmation (YOLO lane check)
84 ///

Calls

no outgoing calls

Tested by 1