Skip to main content

sanitized_event_for_failure

Function sanitized_event_for_failure 

Source
pub fn sanitized_event_for_failure(
    session_id: &str,
    turn_id: u64,
    tool_call_id: &str,
    tool_name: &str,
    failure_kind: ToolFailureKind,
    arguments: &Value,
    error: &str,
    cwd: &Path,
    env: &HashMap<String, String>,
) -> ToolFailureEvent