mirror of
https://github.com/openai/codex.git
synced 2026-04-30 11:21:34 +03:00
option non nullable
This commit is contained in:
@@ -52,6 +52,7 @@ pub struct ExecApprovalRequestEvent {
|
||||
pub risk: Option<SandboxCommandAssessment>,
|
||||
/// Prefix rule that can be added to the user's execpolicy to allow future runs.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional, type = "Array<string>")]
|
||||
pub allow_prefix: Option<Vec<String>>,
|
||||
pub parsed_cmd: Vec<ParsedCommand>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user