* Registers a handler for permission requests. * * When the assistant needs permission to perform certain actions (e.g., file operations), * this handler is called to approve or deny the request. * * @param handler - The permission handler function, or undefined to remove th
(handler?: PermissionHandler)
| 1104 | * @internal This method is typically called internally when creating a session. |
| 1105 | */ |
| 1106 | registerPermissionHandler(handler?: PermissionHandler): void { |
| 1107 | this.permissionHandler = handler; |
| 1108 | } |
| 1109 | |
| 1110 | /** |
| 1111 | * Registers a user input handler for ask_user requests. |
no outgoing calls
no test coverage detected