Skip to main content

erased_tool_executor_no_inner_defaults

Macro erased_tool_executor_no_inner_defaults 

Source
macro_rules! erased_tool_executor_no_inner_defaults {
    () => { ... };
}
Expand description

Erased-trait counterpart of tool_executor_no_inner_defaults!: emits the six risk-bearing ErasedToolExecutor methods with the same trivial bodies the trait’s removed defaults used to provide.

§Use ONLY on leaf executors that own no wrapped executor

Invoking this macro on a type that wraps another ErasedToolExecutor silently disables forwarding for all six methods and reintroduces issue #6019. Wrappers must use erased_tool_executor_forward! for the mechanical four and hand-write requires_confirmation_erased / execute_tool_call_confirmed_erased.