pub struct PermissionAssistedApproval {
pub failure_reason: Option<AssistedApprovalJudgeFailureReason>,
pub model: Option<String>,
pub reason: Option<String>,
pub recommendation: AssistedApprovalRecommendation,
}Expand description
Assisted-approval judge information attached to a permission request. Present only in assisted mode; its absence means the judge did not evaluate the request. The recommendation conveys the judge’s disposition for this request.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§failure_reason: Option<AssistedApprovalJudgeFailureReason>Classified cause of an error recommendation. Absent for every other recommendation.
model: Option<String>Model id that produced the recommendation, when the judge was consulted and reported one. Absent for excluded (the judge was not consulted) and for failures that occurred before a model was selected.
reason: Option<String>Human-readable reason for the judge’s recommendation, when available.
recommendation: AssistedApprovalRecommendationThe assisted-approval safety judge’s outcome for this request.
Trait Implementations§
Source§impl Clone for PermissionAssistedApproval
impl Clone for PermissionAssistedApproval
Source§fn clone(&self) -> PermissionAssistedApproval
fn clone(&self) -> PermissionAssistedApproval
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more