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

Method with_permissions

core/src/subagent.rs:318–321  ·  view source on GitHub ↗

Override the preset permission policy.

(mut self, permissions: PermissionPolicy)

Source from the content-addressed store, hash-verified

316
317 /// Override the preset permission policy.
318 pub fn with_permissions(mut self, permissions: PermissionPolicy) -> Self {
319 self.permissions = Some(permissions);
320 self
321 }
322
323 /// Override the preset model.
324 pub fn with_model(mut self, model: ModelConfig) -> Self {

Calls

no outgoing calls