request


Description:

public async PermissionResponse request (string question, bool one_time = false)

Requests permission from the user with the given question.

Shows the widget, waits for user response, then hides the widget.

Parameters:

question

The permission question to display

one_time

When true, hides "Allow Always" and "Deny Always" (see OLLMchat.Tool.RequestBase.one_time_only)

Returns:

The user's permission response

Since:

1.0