pub struct RouteOptions {
pub draft_comments: Vec<String>,
pub model: String,
pub close_call: f64,
pub close_call_margin: f64,
pub effort_advice: bool,
pub max_input_chars: usize,
pub allow_closed: bool,
pub ignore_closed: bool,
}Expand description
Knobs for run_route.
Fields§
§draft_comments: Vec<String>Local comments appended after fetched comments, in supplied order.
model: StringThe Jev model to request.
close_call: f64Confidence below which a stage is a close call.
close_call_margin: f64Top-two model-class probability margin below which a stage is a close call.
Zero disables margin flagging; effort advice uses only close_call.
effort_advice: boolAsk for per-model effort advice as well as class routing.
max_input_chars: usizeCap, in characters, on each issue’s text.
allow_closed: boolRoute closed issues instead of refusing them.
ignore_closed: boolDrop closed issues from the batch instead of refusing them, listing
them under RouteReport::ignored_closed (#2000). Mutually
exclusive with RouteOptions::allow_closed.
Trait Implementations§
Source§impl Clone for RouteOptions
impl Clone for RouteOptions
Auto Trait Implementations§
impl Freeze for RouteOptions
impl RefUnwindSafe for RouteOptions
impl Send for RouteOptions
impl Sync for RouteOptions
impl Unpin for RouteOptions
impl UnsafeUnpin for RouteOptions
impl UnwindSafe for RouteOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more