pub struct ApprovalReviewerConfig { /* private fields */ }Expand description
Framework configuration for independent approval review.
Implementations§
Source§impl ApprovalReviewerConfig
impl ApprovalReviewerConfig
Sourcepub fn model_route(self, route: impl Into<String>) -> Result<Self>
pub fn model_route(self, route: impl Into<String>) -> Result<Self>
Selects a reviewer route. Omitting this inherits the agent’s active route.
Sourcepub fn strictness(self, strictness: ApprovalStrictness) -> Self
pub fn strictness(self, strictness: ApprovalStrictness) -> Self
Sets reviewer caution independently of the selected model.
Sourcepub fn supplemental_prompt(self, prompt: impl Into<String>) -> Result<Self>
pub fn supplemental_prompt(self, prompt: impl Into<String>) -> Result<Self>
Adds trusted framework guidance after the fixed safety policy.
Trait Implementations§
Source§impl Clone for ApprovalReviewerConfig
impl Clone for ApprovalReviewerConfig
Source§fn clone(&self) -> ApprovalReviewerConfig
fn clone(&self) -> ApprovalReviewerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApprovalReviewerConfig
impl Debug for ApprovalReviewerConfig
Source§impl Default for ApprovalReviewerConfig
impl Default for ApprovalReviewerConfig
Source§fn default() -> ApprovalReviewerConfig
fn default() -> ApprovalReviewerConfig
Returns the “default value” for a type. Read more
impl Eq for ApprovalReviewerConfig
Source§impl PartialEq for ApprovalReviewerConfig
impl PartialEq for ApprovalReviewerConfig
impl StructuralPartialEq for ApprovalReviewerConfig
Auto Trait Implementations§
impl Freeze for ApprovalReviewerConfig
impl RefUnwindSafe for ApprovalReviewerConfig
impl Send for ApprovalReviewerConfig
impl Sync for ApprovalReviewerConfig
impl Unpin for ApprovalReviewerConfig
impl UnsafeUnpin for ApprovalReviewerConfig
impl UnwindSafe for ApprovalReviewerConfig
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
Mutably borrows from an owned value. Read more