pub async fn optional_argument<M, F>(
model: M,
configure: F,
) -> Result<ScenarioReport, ScenarioError>where
M: CompletionModel + 'static,
F: FnOnce(AgentBuilder<M, NoToolConfig>) -> AgentBuilder<M, NoToolConfig>,Available on crate feature
test-utils only.Expand description
Runs the portable optional-argument tool scenario.
configure is deliberately outside the scenario so a provider suite can
attach transport-only settings without putting them into the shared model
contract.