Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

FlowDisplay

Defined in the Display Types module.
Rust AI Agent SDK Flow display for workflow visualization

Fields

NameTypeDescription
current_stepusizeCurrent step index
total_stepsusizeTotal steps
stepsVec<String>Step names
completedVec<bool>Completed steps
statusOption<String>Current status message

Methods

new

fn new(steps: Vec<String>) -> Self
Create a new flow display Parameters:
NameType
stepsVec&lt;String&gt;

complete_step

fn complete_step(&mut self) -> ()
Mark current step as complete and move to next

set_status

fn set_status(&mut self, status: impl Into<String>) -> ()
Set status message Parameters:
NameType
statusimpl Into&lt;String&gt;

progress

fn progress(&self) -> f32
Get progress percentage

is_complete

fn is_complete(&self) -> bool
Check if all steps are complete

Source

View on GitHub

praisonai/src/parity/display_types.rs at line 357

Rust Agent Flow

Rust Flow

Rust Routing

Rust Conditions

Rust Display