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

Method policy

core/src/tool_confirmation.rs:344–346  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

342 }
343
344 async fn policy(&self) -> ConfirmationPolicy {
345 enabled_policy(1_000, TimeoutAction::Reject)
346 }
347
348 async fn set_policy(&self, _policy: ConfirmationPolicy) {}
349

Callers

nothing calls this directly

Calls 1

enabled_policyFunction · 0.85

Tested by

no test coverage detected