Skip to main content

run

AsyncFunction
This function is defined in the run module.
Run a workflow from a YAML file

Signature

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

Parameters

file
String
required
No description available.
verbose
bool
required
No description available.

Returns

Returns
Result<()>
The result of the operation.

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