Skip to main content

streaming_tool

Function streaming_tool 

Source
pub async fn streaming_tool<M, F>(
    model: M,
    configure: F,
) -> Result<ScenarioReport, ScenarioError>
where M: CompletionModel + 'static, F: FnOnce(AgentBuilder<M>) -> AgentBuilder<M>,
Available on crate feature test-utils only.
Expand description

Runs a tool through Rig’s multi-turn streaming agent driver.