Skip to main content

with_tool_call_occurrence

Function with_tool_call_occurrence 

Source
pub async fn with_tool_call_occurrence<F>(
    turn_id: String,
    id: String,
    fut: F,
) -> F::Output
where F: Future,
Expand description

Runs fut with the exact approved tool-call occurrence in task-local scope.