Register Approval Callback • Rust AI Agent SDK

register_approval_callback: Register the global approval callback

register_approval_callback

Function

</div>

This function is defined in the display_types module.

Register the global approval callback

Signature

python
def register_approval_callback(callback: Arc<dyn ApprovalCallback>) -> ()

Parameters

ParamField Arc&lt;dyn ApprovalCallback&gt;

No description available.

Returns

ResponseField ()

The result of the operation.

Uses

  • write

Source

View on GitHub

praisonai/src/parity/display_types.rs at line 264


Related Documentation