pub struct WorkflowRepairInput {
pub input: String,
pub original_input: Value,
pub previous_candidate: Value,
pub feedback: Value,
pub attempt: u32,
}Expand description
Structured input supplied to the second and later generation attempts.
input is a model-ready textual prompt, so an crate::AgentStep can
consume this value directly. Custom steps can instead inspect the complete
original input, previous candidate, feedback, and attempt fields.
Fields§
§input: StringModel-ready prompt containing trusted runtime repair context.
original_input: ValueOriginal value supplied to the repairable node.
previous_candidate: ValueCandidate rejected by the preceding review.
feedback: ValueApplication-defined reviewer findings or repair instructions.
attempt: u32One-based generation attempt receiving this input.
Trait Implementations§
Source§impl Clone for WorkflowRepairInput
impl Clone for WorkflowRepairInput
Source§fn clone(&self) -> WorkflowRepairInput
fn clone(&self) -> WorkflowRepairInput
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 WorkflowRepairInput
impl Debug for WorkflowRepairInput
Source§impl<'de> Deserialize<'de> for WorkflowRepairInput
impl<'de> Deserialize<'de> for WorkflowRepairInput
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkflowRepairInput
impl PartialEq for WorkflowRepairInput
Source§impl Serialize for WorkflowRepairInput
impl Serialize for WorkflowRepairInput
impl StructuralPartialEq for WorkflowRepairInput
Auto Trait Implementations§
impl Freeze for WorkflowRepairInput
impl RefUnwindSafe for WorkflowRepairInput
impl Send for WorkflowRepairInput
impl Sync for WorkflowRepairInput
impl Unpin for WorkflowRepairInput
impl UnsafeUnpin for WorkflowRepairInput
impl UnwindSafe for WorkflowRepairInput
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