pub enum AutoApprovalJudgeFailureReason {
Timeout,
Abort,
EmptyResponse,
ModelError,
ParseError,
Unknown,
}Expand description
Why the auto-approval judge produced no usable recommendation. Present only alongside an error recommendation, where the human-readable reason is a fixed string and therefore cannot distinguish these cases. Intended to make a judge failure reportable by a consumer that has no access to the host’s logs.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Timeout
The judge model call exceeded its deadline.
Abort
The judge model call was cancelled before it returned.
EmptyResponse
The judge model call completed but returned no content.
ModelError
The judge model call failed (for example a transport, authentication, or rate-limit error).
ParseError
The judge model replied, but the reply carried no ALLOW/DENY verdict.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for AutoApprovalJudgeFailureReason
impl Clone for AutoApprovalJudgeFailureReason
Source§fn clone(&self) -> AutoApprovalJudgeFailureReason
fn clone(&self) -> AutoApprovalJudgeFailureReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for AutoApprovalJudgeFailureReason
impl Default for AutoApprovalJudgeFailureReason
Source§fn default() -> AutoApprovalJudgeFailureReason
fn default() -> AutoApprovalJudgeFailureReason
Source§impl<'de> Deserialize<'de> for AutoApprovalJudgeFailureReason
impl<'de> Deserialize<'de> for AutoApprovalJudgeFailureReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AutoApprovalJudgeFailureReason
impl StructuralPartialEq for AutoApprovalJudgeFailureReason
Auto Trait Implementations§
impl Freeze for AutoApprovalJudgeFailureReason
impl RefUnwindSafe for AutoApprovalJudgeFailureReason
impl Send for AutoApprovalJudgeFailureReason
impl Sync for AutoApprovalJudgeFailureReason
impl Unpin for AutoApprovalJudgeFailureReason
impl UnsafeUnpin for AutoApprovalJudgeFailureReason
impl UnwindSafe for AutoApprovalJudgeFailureReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.