Skip to main content

hook_rewrites_and_request_patch

Function hook_rewrites_and_request_patch 

Source
pub async fn hook_rewrites_and_request_patch<M, F>(
    model: M,
    configure: F,
) -> Result<ScenarioReport, ScenarioError>
Available on crate feature test-utils only.
Expand description

Exercises chained argument/result rewrites and a first-turn-only request patch. Completion proves tool_choice=Required did not leak to turn two.