Skip to main content

run_task

Function run_task 

Source
pub async fn run_task(config: &TaskConfig) -> Result<EventStream>
Expand description

Create a runner for the given agent kind and execute the task, returning a stream of unified events.

This is the simple API — for cancellation support, use run_task_with_cancel.