pub struct TurnLoopStreamingPhaseOutcome {
pub tool_uses: Vec<ToolUseState>,
pub pending_steers: Vec<String>,
pub continue_outer_loop: bool,
pub break_outer_loop: bool,
pub return_early: Option<(TurnOutcomeStatus, Option<String>)>,
}Expand description
Result of super::streaming_phase::run_streaming_phase.
Fields§
§tool_uses: Vec<ToolUseState>Parsed tool calls from the model stream (empty → no tool phase this step).
pending_steers: Vec<String>Steer messages queued during streaming (drained after tool phase).
continue_outer_loop: boolRetry the outer turn loop (stream died with nothing / handle_no_tool_uses continue).
break_outer_loop: boolExit the outer turn loop (handle_no_tool_uses break).
return_early: Option<(TurnOutcomeStatus, Option<String>)>End the turn immediately (handle_no_tool_uses return or fatal stream error).
Trait Implementations§
Source§impl Default for TurnLoopStreamingPhaseOutcome
impl Default for TurnLoopStreamingPhaseOutcome
Source§fn default() -> TurnLoopStreamingPhaseOutcome
fn default() -> TurnLoopStreamingPhaseOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TurnLoopStreamingPhaseOutcome
impl RefUnwindSafe for TurnLoopStreamingPhaseOutcome
impl Send for TurnLoopStreamingPhaseOutcome
impl Sync for TurnLoopStreamingPhaseOutcome
impl Unpin for TurnLoopStreamingPhaseOutcome
impl UnsafeUnpin for TurnLoopStreamingPhaseOutcome
impl UnwindSafe for TurnLoopStreamingPhaseOutcome
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