Skip to main content

complex_tool_arguments

Function complex_tool_arguments 

Source
pub async fn complex_tool_arguments<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 nested, escaped, Unicode-bearing argument payload through typed tool deserialization and validates the exact semantic value received by the tool.