pub async fn run_turn<P, T>(
provider: &P,
tools: &T,
model: &str,
messages: Vec<Message>,
) -> Result<TurnResult, P::Error>Expand description
Run one agent turn to completion with no caller-supplied options (the
common path; equivalent to run_turn_with(..., RunTurnOptions::default())).
§Errors
Propagates the provider’s error.