Skip to main content

zero_argument_tool

Function zero_argument_tool 

Source
pub async fn zero_argument_tool<W, T, F>(
    model: Model<W, T>,
    configure: F,
) -> Result<ScenarioReport, ScenarioError>
where W: Wire<Op = Completion>, T: Transport<W>, F: FnOnce(AgentBuilder) -> AgentBuilder,
Available on crate feature test-utils only.
Expand description

Runs a zero-argument tool and validates verbatim string-result handling.