run • Rust AI Agent SDK

run: Run a workflow from a YAML file

run

Async

Function

</div>

This function is defined in the run module.

Run a workflow from a YAML file

Signature

python
async def run(file: String, verbose: bool) -> Result<()>

Parameters

ParamField String

No description available.

ParamField bool

No description available.

Uses

  • exists
  • read_to_string
  • with_context
  • from_str
  • as_deref
  • unwrap_or
  • unwrap_or_else
  • name
  • instructions
  • model

Source

View on GitHub

praisonai-cli/src/commands/run.rs at line 65