Set a confirmation policy for HITL The policy will be used to create a ConfirmationManager when the session is built. This is the preferred way to configure HITL from the Node SDK.
(mut self, policy: crate::hitl::ConfirmationPolicy)
| 161 | /// The policy will be used to create a ConfirmationManager when the session is built. |
| 162 | /// This is the preferred way to configure HITL from the Node SDK. |
| 163 | pub fn with_confirmation_policy(mut self, policy: crate::hitl::ConfirmationPolicy) -> Self { |
| 164 | self.confirmation_policy = Some(policy); |
| 165 | self |
| 166 | } |
| 167 | |
| 168 | /// Set a serializable permission policy for tool execution. |
| 169 | pub fn with_permission_policy(mut self, policy: crate::permissions::PermissionPolicy) -> Self { |
no outgoing calls