pub struct BuildRequest {
pub goal: String,
pub catalog: ToolCatalog,
pub existing: Option<Workflow>,
pub feedback: Option<String>,
pub max_attempts: u32,
}Expand description
A request to build (or update) a workflow from a goal.
Fields§
§goal: StringPlain-English description of what the workflow should do.
catalog: ToolCatalogAgents/tools/models the builder may compose.
existing: Option<Workflow>When set, the builder edits this workflow instead of creating a new one.
feedback: Option<String>Human revision feedback from an approve/revise loop.
max_attempts: u32Maximum generate→validate attempts (clamped to ≥ 1).
Auto Trait Implementations§
impl Freeze for BuildRequest
impl RefUnwindSafe for BuildRequest
impl Send for BuildRequest
impl Sync for BuildRequest
impl Unpin for BuildRequest
impl UnsafeUnpin for BuildRequest
impl UnwindSafe for BuildRequest
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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