pub enum GraphNodeContinuation {
Retry,
Answer {
answers: Vec<GraphQuestionAnswer>,
},
Reply {
attachments: Vec<TurnPromptAttachment>,
message: String,
},
}Expand description
Provider retries stay inside an attempt; these actions create a new one.
Variants§
Retry
Retry only a failed, canceled, or interrupted execution.
Answer
Answer the complete ordered question set from a settled task turn.
Fields
§
answers: Vec<GraphQuestionAnswer>Ordered answers paired with their exact question text.
Reply
Free-form user guidance for the same task conversation. It may retry failed or canceled work, answer clarification questions in prose, revise a validated output that has not been accepted, or follow up on settled work. Accepted outputs and nodes whose dependents have started are final.
Fields
§
attachments: Vec<TurnPromptAttachment>Images accompanying the guidance, delivered with later attempts.
Trait Implementations§
Source§impl Clone for GraphNodeContinuation
impl Clone for GraphNodeContinuation
Source§impl Debug for GraphNodeContinuation
impl Debug for GraphNodeContinuation
Source§impl<'de> Deserialize<'de> for GraphNodeContinuation
impl<'de> Deserialize<'de> for GraphNodeContinuation
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
impl Eq for GraphNodeContinuation
Source§impl PartialEq for GraphNodeContinuation
impl PartialEq for GraphNodeContinuation
Source§impl Serialize for GraphNodeContinuation
impl Serialize for GraphNodeContinuation
impl StructuralPartialEq for GraphNodeContinuation
Auto Trait Implementations§
impl Forget for GraphNodeContinuation
impl Freeze for GraphNodeContinuation
impl RefUnwindSafe for GraphNodeContinuation
impl Send for GraphNodeContinuation
impl Sync for GraphNodeContinuation
impl Unpin for GraphNodeContinuation
impl UnsafeUnpin for GraphNodeContinuation
impl UnwindSafe for GraphNodeContinuation
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.