pub struct MagenticPlanReviewRequest {
pub task: String,
pub facts: String,
pub plan: String,
pub round: u32,
}Expand description
The payload of the request-info event emitted when plan review is enabled
and the orchestrator needs a human decision on the task ledger. Rust
analogue of Python’s _MagenticHumanInterventionRequest narrowed to its
kind=PLAN_REVIEW fields (task_text, facts_text, plan_text,
round_index).
Fields§
§task: StringThe original task text.
facts: StringThe current fact sheet text.
plan: StringThe current plan text.
round: u32How many revise rounds have happened so far (0 for the first request).
Trait Implementations§
Source§impl Clone for MagenticPlanReviewRequest
impl Clone for MagenticPlanReviewRequest
Source§fn clone(&self) -> MagenticPlanReviewRequest
fn clone(&self) -> MagenticPlanReviewRequest
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 MagenticPlanReviewRequest
impl Debug for MagenticPlanReviewRequest
Source§impl<'de> Deserialize<'de> for MagenticPlanReviewRequest
impl<'de> Deserialize<'de> for MagenticPlanReviewRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MagenticPlanReviewRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MagenticPlanReviewRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MagenticPlanReviewRequest
impl Serialize for MagenticPlanReviewRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MagenticPlanReviewRequest
impl RefUnwindSafe for MagenticPlanReviewRequest
impl Send for MagenticPlanReviewRequest
impl Sync for MagenticPlanReviewRequest
impl Unpin for MagenticPlanReviewRequest
impl UnsafeUnpin for MagenticPlanReviewRequest
impl UnwindSafe for MagenticPlanReviewRequest
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