pub struct FallbackConfig<'a, 'b> {
pub role: AgentRole,
pub base_label: &'a str,
pub prompt: &'a str,
pub logfile_prefix: &'a str,
pub runtime: &'a mut PipelineRuntime<'b>,
pub registry: &'a AgentRegistry,
pub primary_agent: &'a str,
pub output_validator: Option<OutputValidator>,
pub workspace: &'a dyn Workspace,
}Expand description
Configuration for running with fallback.
Fields§
§role: AgentRole§base_label: &'a str§prompt: &'a str§logfile_prefix: &'a str§runtime: &'a mut PipelineRuntime<'b>§registry: &'a AgentRegistry§primary_agent: &'a str§output_validator: Option<OutputValidator>§workspace: &'a dyn WorkspaceAuto Trait Implementations§
impl<'a, 'b> Freeze for FallbackConfig<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for FallbackConfig<'a, 'b>
impl<'a, 'b> Send for FallbackConfig<'a, 'b>
impl<'a, 'b> Sync for FallbackConfig<'a, 'b>
impl<'a, 'b> Unpin for FallbackConfig<'a, 'b>
impl<'a, 'b> !UnwindSafe for FallbackConfig<'a, 'b>
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> 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