pub enum FlowNeed {
NextTurn,
Tools(Vec<PendingToolCall>),
}Expand description
What an abstract flow needs next — set by effect resolution, consumed by the progress loop (resolution has no command sink; emission is the loop’s job, in canonical order).
Variants§
NextTurn
Dispatch the next LLM turn over the current transcript.
Tools(Vec<PendingToolCall>)
Dispatch these model-issued tool calls (already appended to the transcript as the assistant entry).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlowNeed
impl<'de> Deserialize<'de> for FlowNeed
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 StructuralPartialEq for FlowNeed
Auto Trait Implementations§
impl Freeze for FlowNeed
impl RefUnwindSafe for FlowNeed
impl Send for FlowNeed
impl Sync for FlowNeed
impl Unpin for FlowNeed
impl UnsafeUnpin for FlowNeed
impl UnwindSafe for FlowNeed
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