pub struct PermissionsSetAllowAllRequest {
pub enabled: Option<bool>,
pub mode: Option<PermissionsAllowAllMode>,
pub model: Option<String>,
pub source: Option<PermissionsSetAllowAllSource>,
}Expand description
Allow-all mode to apply for the session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§enabled: Option<bool>Legacy full allow-all toggle. Prefer mode; when mode is omitted, enabled: true is treated as mode: "on" and any other value is treated as mode: "off".
mode: Option<PermissionsAllowAllMode>Allow-all mode to apply. on enables full allow-all; auto enables advisory LLM auto-approval; off disables both.
model: Option<String>Optional model id for the auto mode auto-approval LLM judging. Only meaningful when mode is auto; ignored otherwise. When omitted, the session resolves a default judge model: gpt-5.5 for CAPI sessions and the session’s active model for BYOK sessions.
source: Option<PermissionsSetAllowAllSource>Optional source for allow-all telemetry. Defaults to rpc when omitted for SDK callers.
Trait Implementations§
Source§impl Clone for PermissionsSetAllowAllRequest
impl Clone for PermissionsSetAllowAllRequest
Source§fn clone(&self) -> PermissionsSetAllowAllRequest
fn clone(&self) -> PermissionsSetAllowAllRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more